Skip to content

Commit 7ed0dd3

Browse files
ensure reset HEAD restores this state and not another state
1 parent 631b0cb commit 7ed0dd3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/end-to-end.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ jobs:
5858
# hacky, maybe can use pre-commit try-repo?
5959
# https://stackoverflow.com/questions/30871868/sed-replace-first-occurence-in-place-with-big-files
6060
sed -i '' -e "1,/rev:.*/{s/rev:.*/rev: $GITHUB_SHA/;}" .pre-commit-config.yaml
61+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
62+
git config --local user.name "github-actions[bot]"
63+
git add .
64+
git commit -m 'current hash must be head'
6165
6266
- name: Run pre-commit
6367
run: |

0 commit comments

Comments
 (0)