{"id":14108797,"url":"https://github.com/hmanzur/actions-set-secret","last_synced_at":"2025-03-20T15:32:35.467Z","repository":{"id":40045010,"uuid":"286092106","full_name":"hmanzur/actions-set-secret","owner":"hmanzur","description":"Create or update secrets in github repository","archived":false,"fork":false,"pushed_at":"2023-01-30T11:31:15.000Z","size":220,"stargazers_count":48,"open_issues_count":12,"forks_count":33,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-17T17:21:27.914Z","etag":null,"topics":["docker","github-actions","nodejs","secrets-management"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hmanzur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-08T17:50:29.000Z","updated_at":"2024-12-05T08:24:40.000Z","dependencies_parsed_at":"2023-02-16T07:00:45.998Z","dependency_job_id":null,"html_url":"https://github.com/hmanzur/actions-set-secret","commit_stats":{"total_commits":83,"total_committers":2,"mean_commits":41.5,"dds":0.02409638554216864,"last_synced_commit":"7676ca1af04977d44f2bd1bb6f1d258780893710"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmanzur%2Factions-set-secret","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmanzur%2Factions-set-secret/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmanzur%2Factions-set-secret/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmanzur%2Factions-set-secret/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmanzur","download_url":"https://codeload.github.com/hmanzur/actions-set-secret/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637102,"owners_count":20485446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","github-actions","nodejs","secrets-management"],"created_at":"2024-08-14T10:01:47.789Z","updated_at":"2025-03-20T15:32:35.198Z","avatar_url":"https://github.com/hmanzur.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Set Secret Action\n\nCreate or edit actions secrets in repository or organizations\n\n## Usage\n\n### Inputs\n\n### name\n\n**Required** `String` Secret name.\n\n### value\n\n**Required** `String` Secret value to store.\n\n\n### token\n\n**Required** `String` Repository [Access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token)\n\n### repository\n\n**Required** `String` Repository or organization to store. Default `github.repository` [context](https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context)\n\n### org\n\n`Boolean` Indicates the repo is an [organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-organizations). Default `false`\n\n### visibility\n\n`String` that configures the access that repositories have to the organization secret.\nOptions are `all`, `private`, `selected`\n\n### selected_repository_ids\n\n### Outputs\n\n### status\n\nResponse status code \n\n### data\n\nResponse json payload\n\n## Examples\n\n### For personal repo\n\n```YAML\nuses: hmanzur/actions-set-secret@v2.0.0\nwith:\n  name: 'MY_SECRET_NAME'\n  value: 'Lorem ipsun dolor simit'\n  repository: hmanzur/actions-set-secret\n  token: ${{ secrets.REPO_ACCESS_TOKEN }}\n```\n\n### For organizations\n\n```YAML\nuses: hmanzur/actions-set-secret@v2.0.0\nwith:\n  name: 'MY_SECRET_NAME'\n  value: 'Lorem ipsun dolor simit'\n  repository: 'my-org'\n  token: ${{ secrets.REPO_ACCESS_TOKEN }}\n  org: true\n  visibility: 'all'\n```\n\n## References\n\n### References for repository\n\n- [Get a repository public key](https://developer.github.com/v3/actions/secrets/#get-a-repository-public-key)\n- [Create or update repository secret](https://developer.github.com/v3/actions/secrets/#create-or-update-a-repository-secret)\n\n### References for organization\n\n- [Get an organization public key](https://developer.github.com/v3/actions/secrets/#get-an-organization-public-key)\n- [Create or update an organization secret](https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmanzur%2Factions-set-secret","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmanzur%2Factions-set-secret","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmanzur%2Factions-set-secret/lists"}