{"id":15763579,"url":"https://github.com/dacbd/gha-secrets","last_synced_at":"2025-09-12T02:35:19.839Z","repository":{"id":43480589,"uuid":"463230489","full_name":"dacbd/gha-secrets","owner":"dacbd","description":"Create or update your GitHub Actions secrets.","archived":false,"fork":false,"pushed_at":"2024-04-12T01:04:09.000Z","size":51,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-14T09:14:24.197Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dacbd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-24T17:01:03.000Z","updated_at":"2024-04-15T06:29:37.303Z","dependencies_parsed_at":"2024-10-04T12:10:47.377Z","dependency_job_id":null,"html_url":"https://github.com/dacbd/gha-secrets","commit_stats":{"total_commits":45,"total_committers":2,"mean_commits":22.5,"dds":"0.022222222222222254","last_synced_commit":"0b561182d9396c1bfc0fcb58cc1984f7c3ad0135"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacbd%2Fgha-secrets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacbd%2Fgha-secrets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacbd%2Fgha-secrets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dacbd%2Fgha-secrets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dacbd","download_url":"https://codeload.github.com/dacbd/gha-secrets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246450478,"owners_count":20779421,"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":[],"created_at":"2024-10-04T12:00:30.717Z","updated_at":"2025-03-31T10:19:06.325Z","avatar_url":"https://github.com/dacbd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gha-secrets\n[![Test Action](https://github.com/dacbd/gha-secrets/actions/workflows/test.yml/badge.svg)](https://github.com/dacbd/gha-secrets/actions/workflows/test.yml) [![CodeQL](https://github.com/dacbd/gha-secrets/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/dacbd/gha-secrets/actions/workflows/codeql-analysis.yml)\n\nCreate or update your GitHub Actions secrets.\n\nIt's probably simpler to just use the [gh cli](https://cli.github.com/manual/gh_secret_set) which [is installed on GitHub runners](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#cli-tools)\n\n\u003e :warning: The new Secret value wont change for the workflow using this action or any jobs currently running :warning:\n\n## Options\n| option | value | notes |\n| ------------ | ------------ | ------------ |\n| `token` | GitHub Token w/ correct permissions  | `required`  |\n| `location` | Where the secret is `repo`, `org`, `(evnironment name)`  | defaults to `repo`/`repository` |\n| `name` | Name of the secret to update | `required` |\n| `value` | New value to update with | `required` |\n| `visibility` | required for [org secrets](https://docs.github.com/en/rest/reference/actions#create-or-update-an-organization-secret)  | defaults to `selected` |\n\n## Usage\n```yml\n      - id: generate_secret\n        run: Generate my token\n      - uses: dacbd/gha-secrets@v1\n        with:\n          token: ${{ secrets.TOKEN }}\n          name: 'GHA_SECRETS_TEST'\n          value: ${{ steps.generate_secret.outputs.value }}\n```\n\n## References\n- https://docs.github.com/en/rest/reference/actions#secrets\n- https://github.com/github/tweetsodium\n\n## Similar actions\n- https://github.com/hmanzur/actions-set-secret\n- https://github.com/jon-grey/github-actions-secrets-creator\n\n\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdacbd%2Fgha-secrets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdacbd%2Fgha-secrets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdacbd%2Fgha-secrets/lists"}