ci: pin third-party actions to commit SHAs#15
Merged
Conversation
- Pin actions/checkout, github-script, 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 all 9 root .github/workflows/*.yml files - Tags resolved live via gh api (2026-07-07); repo had already drifted 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, github-script v9) - permissions: and timeout-minutes: were already present on every root workflow job; not modified there - Also fixed templates/demo-repo/.github/workflows/*.yml (autopilot-create-issue.yml, demo-ci.yml): these template files, copied into other repos by autopilot-org-installer.yml, were caught by workflow-lint's recursive scan with their own unpinned-action/missing-permissions/missing-timeout findings; out of the plan's original 9-file scope but fixed so this repo's own workflow-lint gate passes and installer-scaffolded repos inherit compliant templates
|
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, github-script, setup-python, codeql-action init/autobuild/analyze, upload-pages-artifact, deploy-pages, amannn/action-semantic-pull-request, actions/stale) to an immutable commit SHA across all 9 root.github/workflows/*.ymlfiles.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, github-script v9 — resolved fresh rather than reusing stale SHAs).permissions:andtimeout-minutes:were already present on every root workflow job; not modified there.templates/demo-repo/.github/workflows/autopilot-create-issue.ymlanddemo-ci.yml— these template files are copied into other repos byautopilot-org-installer.ymland were caught byworkflow-lint's recursive scan with their own unpinned-action/missing-permissions/missing-timeout findings. Out of the plan's originally-scoped 9-file list but fixed so this repo's ownworkflow-lintgate passes clean and installer-scaffolded repos inherit compliant templates.Test plan
pwsh scripts/workflow-lint.ps1 -Path portfolio/autopilot-core -Jsonreports zero findings on this branch (root workflows + templates/demo-repo).git diff --statconfirms onlyuses:/permissions:/timeout-minutes:lines changed, no job logic touched.