e-marchand/Auto Increment Tag Action
Automatically create and push release tags based on branch names with incremental versioning
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| branch | Branch to create tag for (leave empty for current branch) | no | "" |
| tag_prefix | Tag prefix to use instead of branch name (leave empty to use branch name) | no | "" |
| tag_suffix | Tag suffix to use. | no | "" |
| git_user_name | Git user name for commits (default: github-actions[bot]) | no | github-actions[bot] |
| git_user_email | Git user email for commits (default: github-actions[bot]@users.noreply.github.com) | no | github-actions[bot]@users.noreply.github.com |
| github_token | GitHub token with contents:write permission | yes | — |
| generate_commit_links | Generate commit links when a new tag is created | no | false |
| exclude_paths | Glob patterns for paths to exclude (comma or newline separated). If all changes match these patterns, no tag will be created. Example: "*.md,.github/workflows/**" | no | "" |
Outputs
| name | description |
|---|---|
| tag | The tag that was created or found |
| tag_commit | The commit hash of the current tag |
| previous_tag | The previous tag before the current one |
| previous_tag_commit | The commit hash of the previous tag |
| tag_created | Whether a new tag was created (true) or an existing tag was used (false) |
| commit_links | Generated commit links (when generate_commit_links is true) |