rlespinasse/Shortify Git Revision
Github Action to shortify a git revision
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| name | Environment variable that will hold the value and serve as prefix to shortify value | yes | — |
| revision | Revision to short | no | — |
| continue-on-error | Don't fail the action if the git revision isn't valid | no | false |
| short-on-error | Still short it if the git revision isn't valid | no | false |
| prefix | Value to prepend to each generated variable | no | "" |
| length | Value to configure the length of the shorted sha | no | "" |
| publish-env | Publish short as environment variable | no | true |
Outputs
| name | description |
|---|---|
| revision | The revision to be shortify |
| short | Revision Short |