Skip to content

Commit 66e112e

Browse files
apply review comment from @antonwolfy
Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
1 parent 83ec74a commit 66e112e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
steps:
1515
- name: Checkout repo
1616
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
with:
18+
# use commit hash to make "no-commit-to-branch" check passing
19+
ref: ${{ github.sha }}
1720

1821
- name: Set up python
1922
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0

0 commit comments

Comments
 (0)