Skip to content

Commit 725ccb1

Browse files
committed
Update pre-commit workflow to pass no-commit-to-branch check
1 parent 93f4f5e commit 725ccb1

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
@@ -27,6 +27,9 @@ jobs:
2727
2828
- name: Checkout DPNP repo
2929
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
30+
with:
31+
# use commit hash to make "no-commit-to-branch" check passing
32+
ref: ${{ github.sha }}
3033

3134
- name: Set up python
3235
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0

0 commit comments

Comments
 (0)