Skip to content

Freeze and upgrade pre-commit hooks#531

Merged
mfocko merged 2 commits into
packit:mainfrom
jpodivin:pre-commit-freeze
May 19, 2026
Merged

Freeze and upgrade pre-commit hooks#531
mfocko merged 2 commits into
packit:mainfrom
jpodivin:pre-commit-freeze

Conversation

@jpodivin
Copy link
Copy Markdown
Contributor

This change pins our pre-commit hooks to hashes, instead of versions. It also upgrades them. I've previously confirmed that the update workflow can work with pinned dependencies, and respect them.

This is a security measure, to protect us against a supply chain compromise.

@centosinfra-prod-github-app
Copy link
Copy Markdown

@centosinfra-prod-github-app
Copy link
Copy Markdown

@jpodivin jpodivin force-pushed the pre-commit-freeze branch from c123d95 to 8af5ed1 Compare May 14, 2026 08:13
@centosinfra-prod-github-app
Copy link
Copy Markdown

jpodivin added 2 commits May 14, 2026 12:19
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
@jpodivin jpodivin force-pushed the pre-commit-freeze branch from 8af5ed1 to ca4f5a2 Compare May 14, 2026 12:19
@usercont-release-bot
Copy link
Copy Markdown

Preview: https://packit-dashboard-pr-531.surge.sh (deployed at Thu 14 May 2026, 12:20 UTC)

@centosinfra-prod-github-app
Copy link
Copy Markdown

@mfocko mfocko added this pull request to the merge queue May 19, 2026
Merged via the queue into packit:main with commit c2a0e1d May 19, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in Packit pull requests May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

4 participants