Skip to content

Commit 6a14b1d

Browse files
committed
fix(ci): replace --require-hashes with pinned versions for pip installs
1 parent e9e6b1c commit 6a14b1d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/pre-commit-autoupdate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
python-version: '3.12'
2424

2525
- name: 'Install pre-commit'
26-
run: 'pip install --require-hashes --requirement /dev/stdin <<< "pre-commit==4.5.1 --hash=sha256:3b3afd891e97337708c1674210f8eba659b52a38ea5f822ff142d10786221f77"'
26+
run: 'pip install pre-commit==4.5.1'
2727

2828
- name: 'Run pre-commit autoupdate'
2929
run: 'pre-commit autoupdate'

CHANGELOG.md

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

99
## [Unreleased]
1010

11+
### Fixed
12+
13+
* Fix `--require-hashes` pip install in pre-commit autoupdate workflow by using pinned version instead
14+
1115
### Changed
1216

1317
* Update and extend pre-commit hooks (add `check-added-large-files`, `check-merge-conflict`, `check-yaml`; update all hook versions)

0 commit comments

Comments
 (0)