1
0
mirror of https://github.com/byReqz/stocheck.git synced 2024-11-25 23:34:54 +00:00
stocheck/.github/workflows/main.yml

25 lines
555 B
YAML
Raw Normal View History

2021-01-25 14:49:28 +00:00
name: gethash
2021-01-25 15:20:59 +00:00
on:
push:
paths:
- '.github/workflows/main.yml'
- 'stocheck.sh'
2021-01-25 14:49:28 +00:00
jobs:
2021-01-25 15:10:38 +00:00
gethash:
2021-01-25 14:49:28 +00:00
runs-on: ubuntu-latest
steps:
2021-01-25 15:10:38 +00:00
- name: Checkout repo
uses: actions/checkout@v2
- name: get hash of script
2021-01-25 15:11:53 +00:00
run: echo $(md5sum stocheck.sh | cut -c -32) > hash
2021-01-25 15:10:38 +00:00
- name: Commit hash
uses: EndBug/add-and-commit@v7
with:
author_name: actions
author_email: nils@byreqz.de
message: 'updated hash after commit'
2021-04-21 20:25:34 +00:00
add: 'hash --force'
2021-01-25 15:10:38 +00:00