Skip to content

ci: pin third-party actions to commit SHAs#12

Merged
OgeonX-Ai merged 1 commit into
mainfrom
ci/sha-pin-actions
Jul 8, 2026
Merged

ci: pin third-party actions to commit SHAs#12
OgeonX-Ai merged 1 commit into
mainfrom
ci/sha-pin-actions

Conversation

@OgeonX-Ai

Copy link
Copy Markdown
Contributor

Summary

  • Pins every third-party GitHub Action uses: reference across codeql.yml, pages.yml, pr-lint.yml, and stale.yml to an immutable 40-char commit SHA, with a trailing # vX.Y.Z comment.
  • SHAs re-resolved live via gh api repos/<owner>/<action>/commits/<tag> against the tags actually present in the files, cross-checked against cas-reference-product's already-pinned ci.yml where the same action/tag pairs appear.
  • CodeQL strategy.matrix.language left unchanged at ['actions'] (already correct per S2) — confirmed unregressed post-edit via grep.
  • No permissions or timeout-minutes changes needed — already present on all jobs.

Verification

  • pwsh -File scripts/workflow-lint.ps1 -Path portfolio/cas-platform -Jsonworkflow-lint: clean.
  • grep -n "language:" .github/workflows/codeql.ymllanguage: [ 'actions' ] (unregressed)
  • No Azure deploy steps found (GitHub Pages deploy only) — NO-AZURE operator lock does not apply.

Not merging — opened for review per REQ-1.4.10 supply-chain hardening (Phase 31).

🤖 Generated with Claude Code

- Pin all uses: refs across codeql.yml, pages.yml, pr-lint.yml, stale.yml
  to immutable commit SHAs with trailing # vX.Y.Z comments
- CodeQL strategy.matrix.language left unchanged at ['actions'] (already correct per S2)
- Permissions and timeout-minutes already present on all jobs; no changes needed
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@OgeonX-Ai OgeonX-Ai enabled auto-merge (squash) July 8, 2026 17:02
@OgeonX-Ai OgeonX-Ai merged commit 0181225 into main Jul 8, 2026
4 checks passed
@OgeonX-Ai OgeonX-Ai deleted the ci/sha-pin-actions branch July 8, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants