im-open/verify-git-ref
An action that verifies a provided branch, tag or SHA exists in the repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| branch-tag-sha | The branch, tag or sha that should be checked | yes | — |
| throw-errors | Flag indicating whether the action should throw an error if the ref does not exist. Defaults to true. Accepted values: true|false | yes | true |
Outputs
| name | description |
|---|---|
| REF_EXISTS | Flag indicating whether the provided reference exists. true|false |
| REF_TYPE | String indicating the type of the provided reference: tag|branch|sha|unknown |