bisgardo/parse-refname
Parse a tag
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Sep 5, 2023
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: bisgardo/github-action-parse-ref@4a710c8745d9a3ac6bd18ccd35e85d06c1938070 # v1.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| ref | The refname. | no | — |
| default-ref-type | Ref type applied for shorthand refnames. | no | tags |
Outputs
| name | description |
|---|---|
| ref-type | The type/namespace of the ref. |
| ref-name | The ref with the 'refs/<type>/' prefix stripped. |