cdqag/action-semver
Versioning based on latest GitHub Release tag in SemVer format and using Conventional Commits to determine the next version
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | The repository to analyze in the format 'owner/repo'. If not provided, defaults to the current repository. | — | ${{ github.repository }} |
| github-token | GitHub Token | — | ${{ github.token }} |
| target-branch | The branch to use when fetching list of commits to compare against | — | ${{ github.ref }} |
| not-conventional-commits-reaction | Whether to exit with an error, warning or silently when encountering a commit that does not follow conventional commit format. Available options: error, warn, silent | — | warn |
| init-release-version | Initial version to use when no release tags are found in the repository | — | v0.1.0 |
| pre-release-version-glue | Suffix glue to use for pre-release versions | — | - |
Outputs
| name | description |
|---|---|
| latest-release-tag | Latest release tag found in the repository |
| current-version | Current version in format x.y.z |
| new-version | New version in format x.y.z |
| new-major-version | New major version |