sap/pull-request-semver-bumper

Automated semantic version bumping for Maven, NPM, Python, Helm, and generic projects.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
typeProject type to bump (maven, npm, python, version-file, helm)yes
tokenGitHub token with permission to fetch PR status and commit changes. ⚠️ Using the default `secrets.GITHUB_TOKEN` means commits pushed by this action are made by the `github-actions[bot]` identity. GitHub intentionally does not re-trigger other workflow runs for such pushes (to prevent infinite loops), so your other status checks (CI, tests, etc.) will NOT run on the version-bump commit. To have other workflows re-run, pass a Personal Access Token (PAT) or a GitHub App token instead of `secrets.GITHUB_TOKEN`. yes
dry-runIf true, skip git checkout, pull, and pushnofalse
default-branchOverride the default branch for version fetching (only effective when dry-run is true). If empty or dry-run is false, uses the PR base branch.no""
bump-commandCustom command to update the versionno
commit-messageCustom commit message for version bump commitnochore: bump version to @NEW_VERSION@
git-usernameGit username for the commitnogithub-actions[bot]
git-useremailGit user email for the commitnogithub-actions[bot]@users.noreply.github.com
post-commandShell command to run after version bumpno""
package-json-filePath to package.json (npm only)nopackage.json
pyproject-filePath to pyproject.toml (python only)nopyproject.toml
pom-filePath to pom.xml (maven only)nopom.xml
version-property-pathJSON path to version property (maven only)no["project","version"]
version-filePath to version file (version-file only)noVERSION
chart-yaml-filePath to Chart.yaml (helm only)noChart.yaml
namedescription
bumpedTrue if version was bumped
new-versionThe new version
bumpLevelThe computed SemVer bump level (major, minor, patch)