actions-marketplace-validations/Project Version check (Maven, NodeJS...)
Checks if the project version has been updated
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | The repository token is used to request the target branch `file-to-check`-file from the [GitHub API](https://developer.github.com/v3/repos/contents/#get-contents) | yes | — |
| file-to-check | Filename (with path) that must contain the project version update (examples: pom.xml, package.json, version.txt) | yes | — |
| additional-files-to-check | Comma separated list of filenames (with path) that must contain the same version as "file-to-check" (examples: README.md, src/file-with-version.txt) | no | — |
| only-return-version | Is used to disable the whole version check and only return the project version as output for usage in other actions | no | false |
Outputs
| name | description |
|---|---|
| version | If the version update is valid then the new version is returned |