iawia002/Get tag or commit id
Gets the tag name if it exists otherwise returns the commit id
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| length | the expected length of the commit id | no | 7 |
Outputs
| name | description |
|---|---|
| id | the value of the tag or commit id |
| type | the type of value (tag/pr/commit) |