{"id":18026386,"url":"https://github.com/action-pack/set-secret","last_synced_at":"2025-03-27T01:31:10.481Z","repository":{"id":159129493,"uuid":"634388453","full_name":"action-pack/set-secret","owner":"action-pack","description":"Action to set a repository secret.","archived":false,"fork":false,"pushed_at":"2025-03-12T23:32:34.000Z","size":1500,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T02:15:36.490Z","etag":null,"topics":["action","github","github-action","github-actions","secret"],"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/action-pack.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2023-04-30T00:26:36.000Z","updated_at":"2025-03-12T23:32:37.000Z","dependencies_parsed_at":"2024-05-09T18:35:14.190Z","dependency_job_id":"168c6359-8800-40c5-acec-e37a5d2fd58f","html_url":"https://github.com/action-pack/set-secret","commit_stats":null,"previous_names":["kroese/set-secret"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/action-pack%2Fset-secret","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/action-pack%2Fset-secret/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/action-pack%2Fset-secret/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/action-pack%2Fset-secret/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/action-pack","download_url":"https://codeload.github.com/action-pack/set-secret/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245764645,"owners_count":20668455,"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":["action","github","github-action","github-actions","secret"],"created_at":"2024-10-30T08:06:31.915Z","updated_at":"2025-03-27T01:31:10.476Z","avatar_url":"https://github.com/action-pack.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003eSet Secret\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \n  [![Build](https://github.com/action-pack/set-secret/actions/workflows/build.yml/badge.svg)](https://github.com/action-pack/set-secret/)\n  [![Version](https://img.shields.io/github/v/tag/action-pack/set-secret?label=version\u0026sort=semver\u0026color=066da5)](https://github.com/marketplace/actions/set-secret)\n  [![Size](https://img.shields.io/github/size/action-pack/set-secret/dist/index.js?branch=release/v1.14\u0026label=size\u0026color=066da5)](https://github.com/action-pack/set-secret/)\n  \n\u003c/div\u003e\u003c/h1\u003e\n\nAction to set a repository secret.\n\n## Usage 🚀\n\n```yaml\nuses: action-pack/set-secret@v1\nwith:\n  name: 'MY_SECRET'\n  value: 'Lorem ipsun dolor simit'\n  token: ${{ secrets.REPO_ACCESS_TOKEN }}\n```\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### token\n\n**Required** `String` Repository [Access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token)\n\n### owner\n\n**Optional** `String` Owners name.\n\n### repository\n\n**Optional** `String` Repository name.\n\n### org\n\n**Optional** `Boolean` Indicates the repo is an [organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-organizations).\n\n### visibility\n\n**Optional** `String` The visibility of the secret in organizations. Can be `all`, `private`, or `selected`, Defaults to `all`.\n\n## FAQ 💬\n\n  * ### Why do I get the error '*Resource not accessible by integration*'?\n\n    This will happen if you use ```secrets.GITHUB_TOKEN```.\n\n    You need to create a [personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) instead.\n\n    Go to your Github settings, select 'Developer settings' --\u003e 'Personal access tokens' --\u003e 'Tokens (classic)' and create a new token. Store its value in a secret, for example ```MY_TOKEN```.\n\n    Then refer to it like this:\n    \n    ```yaml\n    token: ${{ secrets.MY_TOKEN }}\n    ```\n\n## Stars 🌟\n[![Stars](https://starchart.cc/action-pack/set-secret.svg?variant=adaptive)](https://starchart.cc/action-pack/set-secret)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faction-pack%2Fset-secret","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faction-pack%2Fset-secret","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faction-pack%2Fset-secret/lists"}