wozniakpl/Tag It
Validates Conventional Commits on PRs and auto-generates semantic version tags on push to main
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token for API access | yes | ${{ github.token }} |
| tag-prefix | Prefix for version tags (e.g., "v") | no | v |
| initial-version | Initial version if no tags exist | no | 0.0.0 |
| floating-tag | Floating tags mode: "true" (default) updates major tag (e.g., v5). Set to "minor" to also update minor tag (e.g., v5.2). Set to "false" to disable. | no | true |
| create-release | Create or update a GitHub Release for the new tag with generated release notes | no | false |
| pre-release-command | Optional shell command to run before creating the tag (e.g. bump version in Cargo.toml). If it produces file changes, they are committed and pushed, then the tag is created on that commit. Env: NEW_VERSION, NEW_TAG. Default: not set (no extra commit). | no | "" |
Outputs
| name | description |
|---|---|
| new-tag | The new tag that was created (only on push events) |
| bump-type | The type of version bump (major, minor, patch, or none) |
| floating-tag | The floating major version tag that was updated (e.g., v5) |
| floating-minor-tag | The floating minor version tag that was updated (e.g., v5.2) |
| release-url | The GitHub Release URL that was created/updated (only when create-release is enabled) |