yoanm/GitHub Action versioning
Create (or override existing) vX and vX.Y based on the provided tag. Useful to maintain GitHub Action tags up to date.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tag | The full tag used to generate vX and vX.Y tags | no | ${{ github.event.release.tag_name }} |
| update-inner-releases | Whether to also update releases name linked to `vX` and `vX.Y` tags. Will work only on pre-existing releases ! | no | false |
| inner-releases-as-latest | Whether to set inner releases as latest. Requires `update-inner-releases` at `true` ! - `auto`: Will be set only if releases linked to provided `tag` is the latest - `true`: Set as latest whatever provided `tag` releases is the latest or not - `false`: Do not set them as latest | no | auto |
| git-email | The email for the GIT user creating the tags | no | github-actions[bot]@users.noreply.github.com |
| git-name | The name for the GIT user creating the tags | no | github-actions[bot] |
| working-directory | Directory to the Git repository to tag. Useful only if you checkout it in a specific location ! | no | ${{ github.workspace }} |
Outputs
| name | description |
|---|---|
| minor-tag | Minor tag created (vX.Y) |
| major-tag | Major tag created (vX) |