actions-marketplace-validations/Bump version using labels
Provide a description here
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| patch_label | Label used to update the minor version (x.x.PATCH) | no | version: Patch |
| minor_label | Label used to update the minor version (x.MINOR.0) | no | version: Minor |
| major_label | Label used to update the minor version (MAJOR.0.0) | no | version: Major |
| look_for_key | Key in the file that contains the version. | no | version |
| file_path | Path to the file that contains the version. Check the action README to find the supported files | yes | — |
| use_tag_as_ref | Use the tags of the repository to determine the latest version. | no | false |
| reference_branch | Use the specified branch to determine the latest version used. Ignored if `use_tag_as_ref` is true. | no | main |
| comment | Comment the pull request when the version is update or when there is an error. Set to `false` to disable. | no | true |
| comment_message | Message used for the comment. You can use '{old}' and '{new}' to display the ancient and new version. Ignored if `comment` is false. | no | Bump version from {old} to {new} |
| commit | Commit the changed file. Set to `false` to disable. | no | true |
| commit_message | Message used for the commit. You can use '{old}' and '{new}' to display the ancient and new version. Ignored if `commit` is false. | no | [BOT] Bump version from {old} to {new} |
| commit_user_name | Name used for the commit user. Ignored if `commit` is false. | no | github-actions[bot] |
| commit_user_email | Email address used for the commit user. Ignored if `commit` is false. | no | github-actions[bot]@users.noreply.github.com |
Outputs
| name | description |
|---|---|
| version | Current/Updated version. |
| has_changed | Boolean to indicate if the version have changed. |