Compare commits

...

2 Commits

Author SHA1 Message Date
df8786c8e1 Merge pull request 'Add workflow' (#3) from feature/workflow into main
All checks were successful
Commit Hash / CommitHash (push) Successful in 1s
Reviewed-on: #3
2024-09-21 17:55:00 +00:00
64d9951f5f Add workflow
All checks were successful
Commit Hash / CommitHash (push) Successful in 1s
2024-09-21 18:54:12 +01:00

View File

@ -0,0 +1,13 @@
name: Commit Hash
run-name: Print commit hash
on: [ push ]
jobs:
CommitHash:
runs-on: ubuntu-latest
steps:
- name: Print commit hash
run: |
hash=${{env.GITHUB_SHA}}
echo ${hash::10}