luke-rogerson/Bump version from PR title
Reads most recent release version from GitHub and bumps it based on PR title (patch, minor, major). Uses open PR title if not on main/master branch, otherwise uses most recent merged PR title.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| is-release | Whether the event is a release event. If true, the version will not be suffixed with the commit hash | no | false |
| github-token | The GitHub token to use for fetching the most recently merged PR title | yes | — |
Outputs
| name | description |
|---|---|
| version | The calculated version |