ci: pin third-party actions to commit SHAs and add least-privilege permissions#19
Merged
Merged
Conversation
…rmissions (REQ-1.4.10) - Pin all uses: refs across ci.yml, codeql.yml, compatibility.yml, pages.yml, pr-lint.yml, stale.yml to immutable commit SHAs with trailing # vX.Y.Z comments - codeql.yml, pr-lint.yml, and stale.yml already carried job-level least-privilege permissions blocks (added upstream since the plan's 2026-07-06 audit); no permissions changes were needed
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Summary
uses:reference across all 6 workflow files (ci.yml, codeql.yml, compatibility.yml, pages.yml, pr-lint.yml, stale.yml) to an immutable 40-char commit SHA, with a trailing# vX.Y.Zcomment for human readability.gh api repos/<owner>/<action>/commits/<tag>against the tags actually present in the files (they had already moved past the plan's 2026-07-06 audit table to newer major versions via dependabot), then cross-checked againstcas-reference-product's already-pinnedci.ymlforcheckout@v7andsetup-python@v6(byte-for-byte match).permissions:blocks matching exactly what REQ-1.4.10 calls for (added upstream since the plan's audit) — no permissions changes were needed, only SHA-pinning.Scope note
This PR only touches
.github/workflows/*.yml. It does not modifycompatibility.ymlorpages.ymlbeyond action pinning, and does not overlap with the file set changed by open PR #18 (fix/registry-resolvable-id), which touches schemas/docs/tests, not workflow files — no merge-order dependency between the two.Verification
pwsh -File scripts/workflow-lint.ps1 -Path portfolio/cas-contracts -Json→workflow-lint: clean.(zero findings across unpinned-action / missing-permissions / missing-timeout checks)Not merging — opened for review per REQ-1.4.10 supply-chain hardening (Phase 31).
🤖 Generated with Claude Code