ci: pin third-party actions to commit SHAs and least-privilege permissions#28
Merged
Merged
Conversation
…rmissions (REQ-1.4.10) - Pin actions/checkout, setup-node, setup-python, codeql-action, 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-node v6, setup-python v6, codeql-action v4, upload-pages-artifact v5, deploy-pages v5, action-semantic-pull-request v6, stale v10) - permissions: and timeout-minutes: were already present on every job; not modified
|
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 (checkout, setup-node, 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-node v6, 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).permissions:andtimeout-minutes:were already present on every job (confirmed by 31-01 audit); not modified in this PR.Test plan
pwsh scripts/workflow-lint.ps1 -Path portfolio/Promptimprover -Jsonreports zero findings on this branch.git diff --statconfirms onlyuses:lines changed.