-
-
Notifications
You must be signed in to change notification settings - Fork 34.3k
CI: Hash-pin all actions #146488
Copy link
Copy link
Open
Labels
infraCI, GitHub Actions, buildbots, Dependabot, etc.CI, GitHub Actions, buildbots, Dependabot, etc.type-securityA security issueA security issue
Description
(Sorry for using a blank issue for this! None of the other templates seemed exactly right.)
I'm proposing that CPython's CI switch to fully-hash-pinned GitHub Actions references. This is enforced by default via zizmor, but currently CPython's configuration relaxes that default here:
Line 10 in 17070f4
| "*": ref-pin |
Doing so should be a non-breaking change: the versions resolved will be the same as before, and tools like Dependabot/Renovate/pinact will continue to be able to update any action references, including their hashes.
Ref: https://docs.zizmor.sh/audits/#unpinned-uses
CC @sethmlarson
Linked PRs
- gh-146488: hash-pin all action references #146489
- gh-146488: hash-pin check-html-ids action references #147968
- gh-145000: find correct merge base in check-html-ids #147975
- [3.10] gh-146488: hash-pin all action references (gh-146489) #147978
- [3.11] gh-146488: hash-pin all action references (gh-146489) #147979
- [3.12] gh-146488: hash-pin all action references (gh-146489) #147980
- [3.13] gh-146488: hash-pin all action references (gh-146489) #147981
- [3.14] gh-146488: hash-pin all action references (GH-146489) #147982
- [3.14] gh-146488: hash-pin all action references (gh-146489) #147983
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
infraCI, GitHub Actions, buildbots, Dependabot, etc.CI, GitHub Actions, buildbots, Dependabot, etc.type-securityA security issueA security issue