kinsondigital/Version Miner
Pulls versions out from various types of files.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-owner | The owner of the repository | yes | — |
| repo-name | The name of the repository | yes | — |
| repo-token | The GitHub or PAT token used to authenticate to the repository. | yes | — |
| branch-name | The name of the branch where the file lives. | yes | — |
| file-format | The type of file that contains the version. Currently the only supported type value is "xml". | yes | — |
| file-path | The path to the file relative to the root of the repository. | yes | — |
| version-keys | The key(s) that can possibly hold the version in the file. | yes | — |
| case-sensitive-keys | If true, the key search will be case sensitive. | no | true |
| trim-start-from-branch | Trims the start from the 'branch-name' value. | no | "" |
| fail-on-key-value-mismatch | If true, the action will fail if all of the key values listed in the "version-keys" input do not match. | no | false |
| fail-when-version-not-found | If true, will fail the action if the version is not found. | no | true |
Outputs
| name | description |
|---|---|
| version | The version pulled from a file. |