Pin GitHub Actions to commit SHAs - #3259
github-security-bot wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The local build-ui composite action still contains two mutable external action references.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Pins direct workflow action dependencies to immutable SHAs and adds a Dependabot update cooldown.
Changes:
- Pins 34 workflow action references with version comments.
- Adds a seven-day GitHub Actions cooldown.
File summaries
| File | Description |
|---|---|
.github/workflows/registry-releaser.yml |
Pins checkout and Go setup. |
.github/workflows/moderator.yml |
Pins checkout and moderation actions. |
.github/workflows/mcp-diff.yml |
Pins checkout and Go setup. |
.github/workflows/lint.yml |
Pins lint workflow actions. |
.github/workflows/license-check.yml |
Pins license-check actions. |
.github/workflows/goreleaser.yml |
Pins release and attestation actions. |
.github/workflows/go.yml |
Pins build workflow actions. |
.github/workflows/docs-check.yml |
Pins documentation-check actions. |
.github/workflows/docker-publish.yml |
Pins checkout and cache actions. |
.github/workflows/code-scanning.yml |
Pins CodeQL and setup actions. |
.github/workflows/close-inactive-issues.yml |
Pins the stale action. |
.github/workflows/ai-issue-assessment.yml |
Pins checkout. |
.github/dependabot.yml |
Adds a seven-day cooldown. |
Review details
- Files reviewed: 13/13 changed files
- Comments generated: 1
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| - name: Build UI | ||
| uses: ./.github/actions/build-ui | ||
| - uses: actions/setup-go@v7 | ||
| - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 |
Staff AppSec (Actions SHA pinning)Verdict: Approve with a small follow-up (conversation comment — formal review UI often disabled here.) Pinning 34 workflow Please follow up (or amend): Otherwise LGTM from AppSec. |
Preserve current-base workflow jobs, action versions, existing pins, and Dependabot entries; reapply only the PR's pinning and cooldown intent. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Pins direct external GitHub Actions references to immutable commit SHAs while preserving their current versions and channels in comments.
Conflict resolution
main(71ef8266) without reverting upstream changes./ui.Validation
main; the branch includes both its previous head and current base, with zero commits behind.