actions-marketplace-validations/Git SHA Trimmer
Trims Github sha in desired length for use in workflow and set it to environment variable. Intended for Docker image tagging
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| sha-length | Desired length of git SHA to trim with from the beginning | yes | 7 |
| prefix | Prefix the trimmed SHA with | no | "" |
| join-by | Character to separate prefix with trimmed SHA | no | "" |
| env-name | name of the env variable you want to set | no | TRIMMED_SHA |
Outputs
no outputs