Skip to content

ci: pin actions/checkout to full commit SHA and add read-only permissions#25

Open
Alb3e3 wants to merge 1 commit into
xiph:mainfrom
Alb3e3:harden-workflow-permissions
Open

ci: pin actions/checkout to full commit SHA and add read-only permissions#25
Alb3e3 wants to merge 1 commit into
xiph:mainfrom
Alb3e3:harden-workflow-permissions

Conversation

@Alb3e3

@Alb3e3 Alb3e3 commented Jun 11, 2026

Copy link
Copy Markdown

Summary

autotools.yml lacked a permissions: block and used the mutable actions/checkout@v2 tag.

This patch adds permissions: read-all at the workflow level and pins actions/checkout to the full commit SHA of the current v6.0.3 release, preventing silent tag-rewriting supply-chain attacks.

Verification

uvx zizmor --min-severity high .github/workflows/

Result: no findings after this patch.

…ssions

Pin all mutable action version tags to their full commit SHAs to prevent
silent tag-rewriting supply-chain attacks. Add `permissions: read-all`
to any workflow that lacked an explicit permissions block.

Verified with zizmor --min-severity high: no findings after this patch.

Signed-off-by: Alb3e3 <tomaska.filip@gmail.com>
@Alb3e3 Alb3e3 force-pushed the harden-workflow-permissions branch from 42ae3ce to 1ea500b Compare June 11, 2026 22:29
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.

1 participant