kriasoft/Check Version
Verifies that the version number (in a pull request) was bumped by comparing it to the prevous version from base branch.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 17, 2024
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: kriasoft/check-version@d39cb231eff1288b33140e3f415cab6c956005d5 # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Relative path under $GITHUB_WORKSPACE containing package.json file. | — | . |
| token | Personal access token (PAT) used to fetch the repository. | — | ${{ github.token }} |
| format | — | — | {name}_v{version}+build.{pr_number}.zip |
Outputs
| name | description |
|---|---|
| name | Git head name |
| version | The new version number. |
| release | The release name. |