Skip to content

ci: satisfy zizmor policy in remaining workflows - #2941

Open
IzaakGough wants to merge 1 commit into
nextfrom
ci/pin-workflow-actions
Open

ci: satisfy zizmor policy in remaining workflows#2941
IzaakGough wants to merge 1 commit into
nextfrom
ci/pin-workflow-actions

Conversation

@IzaakGough

@IzaakGough IzaakGough commented Aug 13, 2026

Copy link
Copy Markdown

The GitHub Actions Scan check runs zizmor over any workflow file a PR touches, and fails on its mandatory rules (unpinned-uses, template-injection, and five others) as well as on any medium finding. validate.yml was brought in line in #2928; this does the same for the other four, so touching them no longer blocks a PR.

  • Every action is pinned to the commit its moving tag resolves to today, with the resolved version in a comment. Nothing changes about what actually runs.
  • test.yml and readmes-updated.yml get contents: read; release.yml gets contents: write because release.sh creates releases.
  • readmes-updated.yml passes the npm prefix step output through env rather than interpolating it into the run body, which is the template-injection finding.

Verified locally with zizmor 1.25.2 and the org config the check downloads: no mandatory and no medium findings remain across all five workflows. Six low artipacked findings (checkout without persist-credentials: false) are left as they are, since the gate allows low.

validate.yml stays on the checkout and setup-node pins it already has, v3.6.0 and v3.8.1 against the v3.7.0 and v3.9.1 pinned here, rather than widening the diff.

The GitHub Actions Scan check runs zizmor over any workflow file a PR
touches, and fails on its mandatory rules and on medium findings.
validate.yml was already brought in line; this does the same for the
other four.

Actions are pinned to the commit each moving tag resolves to today, so
nothing changes about what runs. Adds read-only permissions blocks to
test.yml and readmes-updated.yml, contents: write to release.yml since
it creates releases, and passes a step output through env in
readmes-updated.yml instead of interpolating it into the run body.

Verified with zizmor 1.25.2 and the org config the check downloads: no
mandatory or medium findings remain.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@IzaakGough
IzaakGough marked this pull request as ready for review August 13, 2026 10:16
@inlined

inlined commented Aug 13, 2026

Copy link
Copy Markdown
Member

Sorry I didn't see this. I have another PR to add a release action for kits and it forced me to fix zizmor already so this may not be necessary.

@IzaakGough

Copy link
Copy Markdown
Author

no worries, I can close this if not needed

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.

3 participants