actionsci/Compute Version
Compute version based on branch name and git tags
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 27, 2026
- License
- MIT
Pinned Snippet
uses: actionsci/compute-semver@f50d7c86c439a020cdc77bed5f21aac4e7ff128e # 1.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| major_version | Override major version (from cicd.yaml config.version.major) | no | "" |
| minor_version | Override minor version (from cicd.yaml config.version.minor) | no | "" |
| release_branch | The release branch name (produces clean semver with no postfix) | no | main |
| test_version_tag | Optional test version tag for testing purposes | no | "" |
| test_branch_name | Optional test branch name for testing purposes | no | "" |
Outputs
| name | description |
|---|---|
| version | The computed version string |