inetum-poland/bumper - Bump version when merging Pull Request with specific labels. Bump versions on tag push.
Bump version when merging Pull Request with specific labels (bumper:major, bumper:minor, bumper:patch, bumper:none)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| bump_default_level | Default bump level when no bumper label is attached [major,minor,patch,none]. Ignored when bump_fail_if_no_level is true. | no | — |
| bump_fail_if_no_level | Fail unless the PR has an explicit bumper label (major, minor, patch, or none) | no | true |
| bump_include_v | Whether to include v in tag name | no | true |
| bump_latest | Whether to add `latest` tag | no | false |
| bump_major | Label name for major bump (bump:major) | no | bumper:major |
| bump_minor | Label name for minor bump (bump:minor) | no | bumper:minor |
| bump_none | Label name for no bump (bump:none) | no | bumper:none |
| bump_patch | Label name for patch bump (bump:patch) | no | bumper:patch |
| bump_semver | Whether to updates major/minor release tags on a tag push. e.g. Update `v1` and `v1.2` tag when released `v1.2.3`. | no | false |
| bump_tag_as_email | Email address to use when creating tags | no | — |
| bump_tag_as_user | Name to use when creating tags | no | — |
| github_token | GITHUB_TOKEN to list pull requests and create tags | yes | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| current_version | The current version before any changes |
| next_version | The next version after any changes |
| skip | True if release is skipped. e.g. No labels attached to PR. |
| message | Tag message |
| tag_status | Tag status |