ci: pin third-party actions to commit SHAs and least-privilege permissions#13
Closed
OgeonX-Ai wants to merge 1 commit into
Closed
ci: pin third-party actions to commit SHAs and least-privilege permissions#13OgeonX-Ai wants to merge 1 commit into
OgeonX-Ai wants to merge 1 commit into
Conversation
…rmissions (REQ-1.4.10) - Pin actions/checkout, setup-python, codeql-action init/autobuild/analyze, upload-pages-artifact, deploy-pages, amannn/action-semantic-pull-request, and actions/stale to immutable commit SHAs across ci.yml, codeql.yml, pages.yml, pr-lint.yml, stale.yml - Tags resolved live via gh api (2026-07-07) since files were already bumped past the phase-31-01 baseline (checkout v7, setup-python v6, codeql-action v4, upload-pages-artifact v5, deploy-pages v5, action-semantic-pull-request v6, stale v10) - codeql.yml, pr-lint.yml, and stale.yml already carry permissions: blocks (added ahead of this plan); not modified here — only uses: lines changed - contract-registry-live.yml already SHA-pinned; left untouched
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
2 tasks
Contributor
Author
|
Superseded by #17, which consolidated the surviving work onto current main without reintroducing the stale dependency stack. |
auto-merge was automatically disabled
July 8, 2026 18:32
Pull request was closed
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 (checkout, setup-python, codeql-action init/autobuild/analyze, upload-pages-artifact, deploy-pages, amannn/action-semantic-pull-request, actions/stale) to an immutable commit SHA acrossci.yml,codeql.yml,pages.yml,pr-lint.yml,stale.yml.gh api repos/<owner>/<action>/commits/<tag>on 2026-07-07 (repo had already drifted past the phase-31-01 baseline tags to checkout v7, setup-python v6, codeql-action v4, upload-pages-artifact v5, deploy-pages v5, action-semantic-pull-request v6, stale v10 — resolved fresh rather than reusing stale SHAs).codeql.yml,pr-lint.yml, andstale.ymlalready carrypermissions:blocks (added ahead of this plan run); not modified here — onlyuses:lines changed.contract-registry-live.ymlwas already SHA-pinned and is untouched.Merge order dependency
This branch was cut from
origin/mainand does not touch.github/workflows/ci.ymljob logic — only theuses:refs and their trailing tag comments — so it should not conflict with the two open PRs that also touch or neighborci.yml:feat/phase-26-coverage-gates, coverage gates)feat/phase-28-fault-injection, fault-injection telemetry)Recommended order: merge #11 first, then update-branch/rebase this PR on the result before merging, then handle #12 similarly. This PR does not merge or touch branch protection.
Test plan
pwsh scripts/workflow-lint.ps1 -Path portfolio/autogen -Jsonreports zero findings on this branch.git diff --statconfirms onlyuses:lines changed.