chore: secure CI - #739
Merged
Merged
Conversation
Pin all GitHub Actions to SHAs, remove default token permissions, and add supply-chain cooldowns. Assisted-by: ClaudeCode:claude-opus-5
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #739 +/- ##
=======================================
Coverage 87.73% 87.73%
=======================================
Files 96 96
Lines 11206 11206
=======================================
Hits 9832 9832
Misses 1374 1374 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
henryiii
commented
Aug 13, 2026
Saransh-cpp
approved these changes
Aug 14, 2026
Member
Author
|
pass -> Pass (renamed, needs update in settings) |
Co-authored-by: Saransh Chopra <saransh0701@gmail.com>
henryiii
commented
Aug 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prompted by pypa/hatch#2292.
🤖 AI text below 🤖
permissions: {}at the workflow level and give each job only the permissions it uses. The publish job keepsid-token,attestations, andcontents, each with a comment.persist-credentials: falseto all checkout steps.runblocks to prevent template injection.[tool.uv] exclude-newer) and pixi (exclude-newerin the workspace table).Held back at their current versions, frozen to SHAs, because the new releases make unrelated source code fail: ruff v0.15.20 (v0.16.1 reformats source), mypy v2.1.0 (v2.3.0 reports new errors), prettier v3.9.4 (v3.9.6 reformats a Markdown link). Each needs its own change set.
hynek/build-and-inspect-python-packagemoves from v2 to v3.0.1, a major version change. v3 stops force-tagging minor releases; it has no functional change beyond dependency updates.