somaz94/Major Tag Action
Automatically update major version tag (e.g., v1) to point to the latest semver release tag
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tag | The full semver tag to extract major version from (e.g., v1.2.3) | yes | — |
| github_token | GitHub token for pushing tags | no | ${{ github.token }} |
| ssh_key | SSH private key for pushing tags (alternative to github_token) | no | "" |
| major_only | Only update major version tag (e.g., v1). Set to false to also update minor tag (e.g., v1.2) | no | true |
Outputs
| name | description |
|---|---|
| major_tag | The major version tag that was updated (e.g., v1) |
| minor_tag | The minor version tag that was updated (e.g., v1.2), empty if major_only is true |
| commit_sha | The commit SHA the tags point to |