{"id":16691412,"url":"https://github.com/bbonkr/next-version-proposal-action","last_synced_at":"2026-02-10T01:02:56.778Z","repository":{"id":181401502,"uuid":"666681606","full_name":"bbonkr/next-version-proposal-action","owner":"bbonkr","description":"Github action which recommends a name for the next version based on your git tag and pull request labels","archived":false,"fork":false,"pushed_at":"2024-12-09T06:46:04.000Z","size":1430,"stargazers_count":0,"open_issues_count":7,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-01T02:43:09.398Z","etag":null,"topics":["github-actions","hacktoberfest","typescript"],"latest_commit_sha":null,"homepage":"https://bbon.kr/github-action-next-version-proposal-action/","language":"TypeScript","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/bbonkr.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,"zenodo":null}},"created_at":"2023-07-15T08:08:15.000Z","updated_at":"2024-10-04T14:14:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb4a4451-394e-4b9e-b0af-fc87b6dd1aa7","html_url":"https://github.com/bbonkr/next-version-proposal-action","commit_stats":null,"previous_names":["bbonkr/next-version-proposal-action"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/bbonkr/next-version-proposal-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonkr%2Fnext-version-proposal-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonkr%2Fnext-version-proposal-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonkr%2Fnext-version-proposal-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonkr%2Fnext-version-proposal-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbonkr","download_url":"https://codeload.github.com/bbonkr/next-version-proposal-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbonkr%2Fnext-version-proposal-action/sbom","scorecard":{"id":228033,"data":{"date":"2025-08-11","repo":{"name":"github.com/bbonkr/next-version-proposal-action","commit":"efb7ef349c11a3a589288d23d27ab19de3fd02b6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.6,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":1,"reason":"Found 1/7 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/check-dist.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/create-tag.yml:14","Warn: topLevel 'contents' permission set to 'write': .github/workflows/pr-completed.yml:8","Warn: no topLevel permission defined: .github/workflows/verify-pr.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":0,"reason":"dangerous workflow patterns detected","details":["Warn: script injection with untrusted input ' github.event.pull_request.head.ref ': .github/workflows/create-tag.yml:40","Warn: script injection with untrusted input ' github.event.pull_request.head.ref ': .github/workflows/verify-pr.yml:40"],"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-tag.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/create-tag.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-tag.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/create-tag.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-tag.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/create-tag.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-tag.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/create-tag.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-tag.yml:81: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/create-tag.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-tag.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/create-tag.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-completed.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/pr-completed.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-completed.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/pr-completed.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-completed.yml:116: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/pr-completed.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-completed.yml:119: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/pr-completed.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-completed.yml:134: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/pr-completed.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify-pr.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/verify-pr.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/verify-pr.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/bbonkr/next-version-proposal-action/verify-pr.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/check-dist.yml:41","Warn: npmCommand not pinned by hash: .github/workflows/create-tag.yml:31","Warn: npmCommand not pinned by hash: .github/workflows/pr-completed.yml:31","Warn: npmCommand not pinned by hash: .github/workflows/pr-completed.yml:125","Warn: npmCommand not pinned by hash: .github/workflows/verify-pr.yml:22","Info:   0 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   5 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-x4c5-c7rf-jjgv","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T04:12:13.493Z","repository_id":181401502,"created_at":"2025-08-17T04:12:13.493Z","updated_at":"2025-08-17T04:12:13.493Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29287726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T21:57:15.303Z","status":"ssl_error","status_checked_at":"2026-02-09T21:57:11.537Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["github-actions","hacktoberfest","typescript"],"created_at":"2024-10-12T16:08:23.954Z","updated_at":"2026-02-10T01:02:56.763Z","avatar_url":"https://github.com/bbonkr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next version proposal action\n\n[![View on Marketplace: next-version-proposal-action](https://img.shields.io/badge/Marketplace-next--version--proposal--action-blueviolet)](https://github.com/marketplace/actions/next-version-proposal-action) [![](https://img.shields.io/github/v/release/bbonkr/next-version-proposal-action?display_name=tag\u0026style=flat-square\u0026include_prereleases)](https://github.com/bbonkr/next-version-proposal-action/releases)\n\nGithub action which recommends a name for the next version based on your git tag and pull request labels.\n\n## Usages\n\n### Inputs\n\n| Name                | Required | Description                                                                                                |\n| :------------------ | :------: | :--------------------------------------------------------------------------------------------------------- |\n| github_token        |          | GitHub Personal Access Token. It requires REPO scope. Defaluts to `github.token`                           |\n| pr                  |          | Pull request number. Input just number e.g. `100`. Defaults to `github.event.pull_request.number`          |\n| major_labels        |          | A comma-separated list of label names to increment the major version by. Defaults to `major,next`          |\n| minor_labels        |          | A comma-separated list of label names to increment the minor version by. Defaults to `enhancement,feature` |\n| ~~patch_labels~~    |          | ~~A comma-separated list of label names to increment the patch version by.~~                               |\n| next_version_prefix |          | Next version prefix                                                                                        |\n| logging             |          | Shows log messages. (You want to show log message please set `true`.)                                      |\n\n\u003e [!NOTE]\n\u003e We no longer maintain patch labels. If it cannot find a matching label in the major and minor labels, it treats as a patch version increase.\n\n### Outputs\n\n| Name               | Description                               |\n| :----------------- | :---------------------------------------- |\n| latest_version     | Latest version of git tag                 |\n| next_version       | Recommended next version name             |\n| next_version_major | Major version of Recommended next version |\n| next_version_minor | Minor version of Recommended next version |\n| next_version_patch | Patch version of Recommended next version |\n\n- next_version is `1.0.0` if latest version could not find.\n- latest_version is latest git tag name of git tags SEMVER[^semver] formatted.\n\n### Example\n#### TL;DR\n```yaml\n      - name: Get next version\n        uses: bbonkr/next-version-proposal-action@v1\n        id: next_version_proposal\n\n      - name: Use\n        run: echo \"next_version=${{ steps.next_version_proposal.outputs.next_version }}\"\n```\n\n#### Full\nWe recommend using this action in the `pull_request` event, because this action requires PR ref.\n\nYou can recognize the PR is closed as completed with condition of `github.event.pull_request.merged == true`.\n\n```yaml\nname: 'create-tag'\n\non:\n  pull_request:\n    branches:\n      - main\n    types:\n      - closed\n\njobs:\n  next_version:\n    runs-on: ubuntu-latest\n    if: github.event.pull_request.merged == true # It represents PR is closed as completed\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n\n      - name: Get next version\n        uses: bbonkr/next-version-proposal-action@v1\n        id: next_version_proposal\n        with:\n          github_token: ${{ github.token }}\n          pr: ${{ github.event.pull_request.number }}\n          major_labels: 'major,next'\n          minor_labels: 'enhancement,feature'\n          next_version_prefix: 'v'\n\n      - name: logging\n        run: |\n          echo \"latest_version=${{ steps.next_version_proposal.outputs.latest_version }}\"\n          echo \"next_version=${{ steps.next_version_proposal.outputs.next_version }}\"\n          echo \"next_version_major=${{ steps.next_version_proposal.outputs.next_version_major }}\"\n          echo \"next_version_minor=${{ steps.next_version_proposal.outputs.next_version_minor }}\"\n          echo \"next_version_patch=${{ steps.next_version_proposal.outputs.next_version_patch }}\"\n```\n\n### References\n\n- https://docs.github.com/en/actions/learn-github-actions/contexts#github-context\n- https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request\n- https://docs.github.com/en/actions/learn-github-actions/expressions#functions\n- https://docs.github.com/en/actions/using-workflows/using-github-cli-in-workflows\n- https://docs.github.com/ko/rest/pulls/pulls?apiVersion=2022-11-28#list-pull-requests\n- https://docs.github.com/ko/rest/git/refs?apiVersion=2022-11-28#list-matching-references\n\n[^semver]: https://semver.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbonkr%2Fnext-version-proposal-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbonkr%2Fnext-version-proposal-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbonkr%2Fnext-version-proposal-action/lists"}