{"id":15757550,"url":"https://github.com/cbrgm/semver-bump-action","last_synced_at":"2026-06-01T16:00:37.859Z","repository":{"id":211494431,"uuid":"729321720","full_name":"cbrgm/semver-bump-action","owner":"cbrgm","description":"Stable and fast action to automatically bump the given semver version up.","archived":false,"fork":false,"pushed_at":"2026-05-13T12:33:43.000Z","size":233,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-13T14:33:24.536Z","etag":null,"topics":["action","bump","gihub-actions","github","go","semver","version"],"latest_commit_sha":null,"homepage":"https://cbrgm.net","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbrgm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"ko_fi":"chrisbargmann"}},"created_at":"2023-12-08T22:33:26.000Z","updated_at":"2026-05-13T12:33:47.000Z","dependencies_parsed_at":"2024-02-16T13:24:59.975Z","dependency_job_id":"af01e51b-5aa5-4206-a753-2e761ae2e60d","html_url":"https://github.com/cbrgm/semver-bump-action","commit_stats":{"total_commits":78,"total_committers":4,"mean_commits":19.5,"dds":0.5769230769230769,"last_synced_commit":"9c0bf471f59a1503ae57f453d3b652f5691cf3c2"},"previous_names":["cbrgm/semver-bump-action"],"tags_count":52,"template":false,"template_full_name":null,"purl":"pkg:github/cbrgm/semver-bump-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fsemver-bump-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fsemver-bump-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fsemver-bump-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fsemver-bump-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbrgm","download_url":"https://codeload.github.com/cbrgm/semver-bump-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fsemver-bump-action/sbom","scorecard":{"id":268711,"data":{"date":"2025-08-11","repo":{"name":"github.com/cbrgm/semver-bump-action","commit":"68c59dc138e27abddc9048003876a78155ccef75"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.1,"checks":[{"name":"Maintained","score":10,"reason":"29 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/5 approved changesets -- score normalized to 0","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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"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":7,"reason":"dependency not pinned by hash detected -- score normalized to 7","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/stale.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/cbrgm/semver-bump-action/stale.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tag.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/cbrgm/semver-bump-action/tag.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile.linux.386:1","Warn: containerImage not pinned by hash: Dockerfile.linux.amd64:1","Warn: containerImage not pinned by hash: Dockerfile.linux.arm:1","Warn: containerImage not pinned by hash: Dockerfile.linux.arm64:1","Info:  10 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:  14 out of  16 third-party GitHubAction dependencies pinned","Info:   0 out of   4 containerImage 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: topLevel 'contents' permission set to 'write': .github/workflows/automerge.yml:7","Warn: topLevel 'packages' permission set to 'write': .github/workflows/container.yml:17","Info: topLevel 'contents' permission set to 'read': .github/workflows/container.yml:16","Warn: topLevel 'contents' permission set to 'write': .github/workflows/go-binaries.yml:16","Info: topLevel 'contents' permission set to 'read': .github/workflows/go-lint-test.yml:14","Info: topLevel 'contents' permission set to 'read': .github/workflows/notify.yml:9","Warn: topLevel 'contents' permission set to 'write': .github/workflows/stale.yml:10","Warn: topLevel 'contents' permission set to 'write': .github/workflows/tag.yml:30","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":"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":"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: Apache License 2.0: 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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.40 not signed: https://api.github.com/repos/cbrgm/semver-bump-action/releases/236866402","Warn: release artifact v1.0.39 not signed: https://api.github.com/repos/cbrgm/semver-bump-action/releases/229092941","Warn: release artifact v1.0.38 not signed: https://api.github.com/repos/cbrgm/semver-bump-action/releases/222276178","Warn: release artifact v1.0.37 not signed: https://api.github.com/repos/cbrgm/semver-bump-action/releases/215975534","Warn: release artifact v1.0.36 not signed: https://api.github.com/repos/cbrgm/semver-bump-action/releases/209582793","Warn: release artifact v1.0.40 does not have provenance: https://api.github.com/repos/cbrgm/semver-bump-action/releases/236866402","Warn: release artifact v1.0.39 does not have provenance: https://api.github.com/repos/cbrgm/semver-bump-action/releases/229092941","Warn: release artifact v1.0.38 does not have provenance: https://api.github.com/repos/cbrgm/semver-bump-action/releases/222276178","Warn: release artifact v1.0.37 does not have provenance: https://api.github.com/repos/cbrgm/semver-bump-action/releases/215975534","Warn: release artifact v1.0.36 does not have provenance: https://api.github.com/repos/cbrgm/semver-bump-action/releases/209582793"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/container.yml:20"],"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":"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"}}]},"last_synced_at":"2025-08-17T12:49:31.133Z","repository_id":211494431,"created_at":"2025-08-17T12:49:31.133Z","updated_at":"2025-08-17T12:49:31.133Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33782317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["action","bump","gihub-actions","github","go","semver","version"],"created_at":"2024-10-04T09:22:04.605Z","updated_at":"2026-06-01T16:00:37.841Z","avatar_url":"https://github.com/cbrgm.png","language":"Go","funding_links":["https://ko-fi.com/chrisbargmann"],"categories":[],"sub_categories":[],"readme":"# Semver Bump Action\n\n**Automatically bump the given semver version up.**\n\n[![GitHub release](https://img.shields.io/github/release/cbrgm/semver-bump-action.svg)](https://github.com/cbrgm/semver-bump-action)\n[![Go Report Card](https://goreportcard.com/badge/github.com/cbrgm/semver-bump-action)](https://goreportcard.com/report/github.com/cbrgm/semver-bump-action)\n[![go-lint-test](https://github.com/cbrgm/semver-bump-action/actions/workflows/go-lint-test.yml/badge.svg)](https://github.com/cbrgm/semver-bump-action/actions/workflows/go-lint-test.yml)\n[![go-binaries](https://github.com/cbrgm/semver-bump-action/actions/workflows/go-binaries.yml/badge.svg)](https://github.com/cbrgm/semver-bump-action/actions/workflows/go-binaries.yml)\n[![container](https://github.com/cbrgm/semver-bump-action/actions/workflows/container.yml/badge.svg)](https://github.com/cbrgm/semver-bump-action/actions/workflows/container.yml)\n\n## Inputs\n\n### `current-version`\n**Required** - The semantic version (semver) that needs to be bumped. For example, `1.2.3`.\n\n### `bump-level`\n**Required** - Specifies the semver bump level. Allowed values:\n- `major` - Increments the major version (e.g., 1.2.3 to 2.0.0).\n- `minor` - Increments the minor version (e.g., 1.2.3 to 1.3.0).\n- `patch` - Increments the patch version (e.g., 1.2.3 to 1.2.4).\n- `premajor` - Creates a premajor prerelease (e.g., 1.2.3 to 2.0.0-alpha.0).\n- `preminor` - Creates a preminor prerelease (e.g., 1.2.3 to 1.3.0-alpha.0).\n- `prepatch` - Creates a prepatch prerelease (e.g., 1.2.3 to 1.2.4-alpha.0).\n- `prerelease` - Increments an existing prerelease or creates a new one (e.g., 1.2.3-alpha.0 to 1.2.3-alpha.1).\n\n### `prerelease-tag`\n**Required** - The tag to use for prereleases (e.g., `alpha`, `beta`). For example, specifying `alpha` in combination with `bump-level` as `prerelease` will result in versions like `1.2.3-alpha.0`.\n\n## Outputs\n\n### `new_version`\nThe bumped semantic version. For example, if `current-version` is `1.2.3` and `bump-level` is `minor`, `new_version` will be `1.3.0`.\n\n## Workflow Usage\n\nAdd the following step to your GitHub Actions Workflow:\n\n```yaml\nname: Demo Workflow\n\non:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get Latest Tag\n        id: current\n        run: |\n          latest_tag=\"v1.0.0\"\n          echo \"latest_tag=$latest_tag\" \u003e\u003e $GITHUB_ENV\n\n      - name: Bump Minor Version\n        id: bump\n        uses: cbrgm/semver-bump-action@main\n        with:\n          current-version: ${{ env.latest_tag }}\n          bump-level: minor\n\n      - name: Output\n        run: |\n          new_tag=${{ steps.bump.outputs.new_version }}\n          echo $new_tag\n          echo $new_tag\n```\n\nExample: Bump + Publish Minor Version Tag\n\n```yaml\nname: Publish Tag\n\non:\n  workflow_dispatch:\n    inputs:\n      bump-level:\n        required: true\n        type: choice\n        description: 'The semver bump level'\n        options:\n          - 'major'\n          - 'minor'\n          - 'patch'\n          - 'premajor'\n          - 'preminor'\n          - 'prepatch'\n          - 'prerelease'\n        default: 'patch'\n\n      prerelease-tag:\n        required: false\n        description: 'The tag to use for prereleases'\n        default: 'alpha'\n\njobs:\n  publish-tag:\n    runs-on: ubuntu-latest\n    steps:\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ssh-key: \"${{ secrets.COMMIT_KEY }}\"\n\n      - name: Get Latest Tag\n        id: current\n        run: |\n          git fetch --tags\n          latest_tag=$(git tag --sort=taggerdate | tail -n 1)\n          echo \"current version is: $latest_tag\"\n          echo \"latest_tag=$latest_tag\" \u003e\u003e $GITHUB_ENV\n\n      - name: Bump Version\n        id: bump\n        uses: cbrgm/semver-bump-action@main\n        with:\n          current-version: ${{ env.latest_tag }}\n          bump-level: ${{ github.event.inputs.bump-level }}\n          prerelease-tag: ${{ github.event.inputs.prerelease-tag }}\n\n      - name: Publish Tag\n        run: |\n          git fetch --tags\n          latest_tag=$(git tag --sort=taggerdate | tail -n 1)\n          new_tag=${{ steps.bump.outputs.new_version }}\n          if [[ $(git rev-list $latest_tag..HEAD --count) -gt 0 ]]; then\n            git config user.name \"GitHub Actions\"\n            git config user.email \"github-actions@users.noreply.github.com\"\n            git tag $new_tag\n            git push origin $new_tag\n          else\n            echo \"No new commits since last tag. Skipping tag push.\"\n          fi\n```\n\n### Local Development\n\nYou can build this action from source using `Go`:\n\n```bash\nmake build\n```\n\n## Contributing \u0026 License\n\nWe welcome and value your contributions to this project! 👍 If you're interested in making improvements or adding features, please refer to our [Contributing Guide](https://github.com/cbrgm/semver-bump-action/blob/main/CONTRIBUTING.md). This guide provides comprehensive instructions on how to submit changes, set up your development environment, and more.\n\nPlease note that this project is developed in my spare time and is available for free 🕒💻. As an open-source initiative, it is governed by the [Apache 2.0 License](https://github.com/cbrgm/semver-bump-action/blob/main/LICENSE). This license outlines your rights and obligations when using, modifying, and distributing this software.\n\nYour involvement, whether it's through code contributions, suggestions, or feedback, is crucial for the ongoing improvement and success of this project. Together, we can ensure it remains a useful and well-maintained resource for everyone 🌍.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbrgm%2Fsemver-bump-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbrgm%2Fsemver-bump-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbrgm%2Fsemver-bump-action/lists"}