{"id":20799905,"url":"https://github.com/action-pack/set-variable","last_synced_at":"2025-05-06T23:46:58.136Z","repository":{"id":160473716,"uuid":"634435047","full_name":"action-pack/set-variable","owner":"action-pack","description":"Action to set a repository variable.","archived":false,"fork":false,"pushed_at":"2025-05-06T10:39:44.000Z","size":626,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T11:50:10.670Z","etag":null,"topics":["action","github","github-action","github-actions","variable"],"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,"zenodo":null}},"created_at":"2023-04-30T05:25:16.000Z","updated_at":"2025-04-14T19:53:20.000Z","dependencies_parsed_at":"2024-04-05T02:35:16.346Z","dependency_job_id":"ee7c4a0e-7b90-47b3-86bd-2722a030ba39","html_url":"https://github.com/action-pack/set-variable","commit_stats":{"total_commits":427,"total_committers":5,"mean_commits":85.4,"dds":0.2177985948477752,"last_synced_commit":"33f02694fa8ce6c14d7f7197d643978fca9e5ce8"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/action-pack%2Fset-variable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/action-pack%2Fset-variable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/action-pack%2Fset-variable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/action-pack%2Fset-variable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/action-pack","download_url":"https://codeload.github.com/action-pack/set-variable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252679878,"owners_count":21787441,"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","variable"],"created_at":"2024-11-17T18:11:20.887Z","updated_at":"2025-05-06T23:46:58.131Z","avatar_url":"https://github.com/action-pack.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003eSet Variable\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \n  [![Build](https://github.com/action-pack/set-variable/actions/workflows/build.yml/badge.svg)](https://github.com/action-pack/set-variable/)\n  [![Version](https://img.shields.io/github/v/tag/action-pack/set-variable?label=version\u0026sort=semver\u0026color=066da5)](https://github.com/marketplace/actions/set-repository-variable)\n  [![Size](https://img.shields.io/github/size/action-pack/set-variable/dist/index.js?branch=release/v1.12\u0026label=size\u0026color=066da5)](https://github.com/action-pack/set-variable/)\n  \n\u003c/div\u003e\u003c/h1\u003e\n\nAction to set a repository variable.\n\n## Usage 🚀\n\n```YAML\nuses: action-pack/set-variable@v1\nwith:\n  name: 'MY_VARIABLE'\n  value: 'Lorem ipsun dolor simit'\n  token: ${{ secrets.REPO_ACCESS_TOKEN }}\n```\n\n## Inputs 📝\n\n### name\n\n**Required** `String` Variable name.\n\n### value\n\n**Required** `String` 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## 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-variable.svg?variant=adaptive)](https://starchart.cc/action-pack/set-variable)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faction-pack%2Fset-variable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faction-pack%2Fset-variable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faction-pack%2Fset-variable/lists"}