Skip to content

Commit 8c50aff

Browse files
authored
Update pre-commit workflow to pass no-commit-to-branch check (#2501)
The PR updates `pre-commit` GitHub workflow to pass `no-commit-to-branch` check.
1 parent 93f4f5e commit 8c50aff

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-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

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2828

2929
### Fixed
3030

31+
* Updated `pre-commit` GitHub workflow to pass `no-commit-to-branch` check [#2501](https://github.com/IntelPython/dpnp/pull/2501)
32+
3133
### Security
3234

3335
## [0.18.1] - 2025-06-24

0 commit comments

Comments
 (0)