prompt/Commit Hash

Output commit hash (short and long) with optional prefix

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commitFull, 40-character SHA-1 hash of a commityes${{ github.sha }}
prefixOptional prefix for `short` and `long`no
namedescription
shortShort, 7-character hash of the commit with prefix
longFull, 40-character SHA-1 hash of commit with prefix
hashOriginal, 40-character SHA-1 hash received as `commit` input