We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8888033 commit d6cda48Copy full SHA for d6cda48
1 file changed
.github/workflows/ci.yaml
@@ -67,6 +67,8 @@ jobs:
67
CUR_SHA=$(git log --pretty=tformat:"%H" -n1 .)
68
LAST_SHA=$(git log --pretty=tformat:"%H" -n2 | tail -n1)
69
git fetch
70
+ echo $GITHUB_REF
71
+ echo $LAST_SHA
72
if [[ $GITHUB_REF == 'refs/heads/main' ]]; then
73
pre-commit run --from-ref $LAST_SHA --to-ref $CUR_SHA
74
else
0 commit comments