dloez/Tag Track
Calculate semantic version bump based on conventional commits.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Nov 3, 2023
- License
- MIT
Pinned Snippet
uses: dloez/tag-track@148314697c8c77281af72907c48295a7cc8870e3 # 0.10.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| create-tag | Create a new tag with bumped version. Defaults to `false`. | — | false |
| push-tag | Push the new tag to the repository if `create-tag` is used. Defaults to `false`. | — | false |
| github-repo | Github repository in the format owner/repo. Defaults to the repository that triggers the action. | no | — |
| github-api-url | Github API URL. Defaults to the value of the environment variable `GITHUB_API_URL`. | no | — |
| github-token | Github token to authorize requests to GitHub REST API. Can cause rate limit to be increased. | no | — |
| commit-sha | Commit SHA from where the version bump will be calculated. Defaults to the commit SHA that triggers the action. | no | — |
| compile | Instead of downloading the binary, compile it from source. Defaults to `false`. | — | false |
| use-cache | Save binary in cache to avoid downloading or compiling it every time. Defaults to `false`. | — | false |
| git-author-name | Name of the author for tags created by Tag Track. Defaults to `github-actions`. | — | github-actions |
| git-author-email | Email of the author for tags created by Tag Track. Defaults to `github-actions@github.com`. | — | github-actions@github.com |
Outputs
| name | description |
|---|---|
| tag-created | `true` if at least a new tag was created |
| new-tags | JSON Array of new tag names created. |
| version-bumps | List of version bumps. |
| skipped-commits | List of commits that were skipped because they don't match the commit pattern. |
| error | Error message if something went wrong. |