Skip to content

ci: pin third-party GitHub Actions to commit SHAs - #8671

Merged
Xuanwo merged 1 commit into
mainfrom
xuanwo/pin-third-party-actions
Nov 22, 2026
Merged

Xuanwo merged 1 commit into
mainfrom
xuanwo/pin-third-party-actions

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Nov 22, 2026

Copy link
Copy Markdown
Member

Which issue does this PR close?

Refs #5502

Rationale for this change

Third-party action tags and branches can move without a change to this repository. Pinning their current commits makes changes to the action revision visible in review.

What changes are included in this PR?

  • Pin third-party action references under .github/ and keep the corresponding upstream refs in comments. The Python jobs request tool: just explicitly from the same pinned installer release used elsewhere.
  • Enable zizmor's unpinned-uses rule for workflows and composite actions. The policy accepts Git refs for the ASF-exempt actions, github, and apache namespaces. The composite action check gates on pinning findings while the existing workflow scan continues to gate on high-severity, high-confidence findings.
  • Include composite actions with third-party pins in the existing Dependabot update group.

Are there any user-facing changes?

The Check workflow now fails when a third-party action is referenced without a full commit SHA.

Breaking changes

AI Usage Statement

  • Pi, codex/gpt-6.2-astra, high — audited action references and scoped the pinning follow-up.
  • Pi, agy-cli/gemini-4-neon, high — refined the implementation plan and verification criteria.
  • Pi, codex/gpt-6.2-sol, xhigh — resolved and verified the pinned commits, implemented the CI and Dependabot changes, and verified that the composite action check rejects a tag reference.

@Xuanwo
Xuanwo merged commit 12c3c70 into main Nov 22, 2026
110 of 111 checks passed
@Xuanwo
Xuanwo deleted the xuanwo/pin-third-party-actions branch November 22, 2026 18:58

This branch was previously deployed

1 inactive deployment
release — dd842fb5 Deployed Nov 22, 2026 by Xuanwo via Release #96
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