{"id":18952216,"url":"https://github.com/step-security/increment","last_synced_at":"2025-10-24T21:40:21.957Z","repository":{"id":259222231,"uuid":"877236699","full_name":"step-security/increment","owner":"step-security","description":"Action to increment a repository variable.","archived":false,"fork":false,"pushed_at":"2025-02-20T10:59:23.000Z","size":169,"stargazers_count":0,"open_issues_count":8,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-20T11:40:06.885Z","etag":null,"topics":["step-security-maintained-actions"],"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/step-security.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-23T10:18:25.000Z","updated_at":"2025-02-20T10:59:28.000Z","dependencies_parsed_at":"2024-10-23T16:54:56.163Z","dependency_job_id":"e7bc2431-a77f-46c5-933b-515ee147da38","html_url":"https://github.com/step-security/increment","commit_stats":null,"previous_names":["step-security/increment"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Fincrement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Fincrement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Fincrement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Fincrement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/step-security","download_url":"https://codeload.github.com/step-security/increment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239951592,"owners_count":19723903,"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":["step-security-maintained-actions"],"created_at":"2024-11-08T13:31:45.094Z","updated_at":"2025-10-16T05:26:40.355Z","avatar_url":"https://github.com/step-security.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eIncrement Variable\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e  \n\n\u003c/div\u003e\u003c/h1\u003e\nAction to increment a repository variable. Useful for increasing a version number for example.\n\n## Features ✨\n\n  - Automaticly creates the target variable if it does not exist\n  - Supports alphanumeric variables, for example `ABC1` will be increased to `ABC2`\n  - An `amount` parameter for if you want to increment by a custom amount\n\n## Usage 🚀\n\n```YAML\nuses: step-security/increment@v2\nid: increment\nwith:\n  name: 'MY_VARIABLE'\n  token: ${{ secrets.REPO_ACCESS_TOKEN }}\n```\n\n## Inputs 📝\n\n### name\n\n**Required** `String` Variable name.\n\n### amount\n\n**Optional** `Integer` Increment by this amount (default = 1).\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  * ### How do I read the value after incrementing?\n\n    If you need to get the value after the increment, use: `${{ steps.increment.outputs.value }}`\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    ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstep-security%2Fincrement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstep-security%2Fincrement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstep-security%2Fincrement/lists"}