Skip to content

Add zizmor workflow security analysis - #2811

Merged
chalin merged 4 commits into
docsy:mainfrom
chalin:chalin-m24-zizmor-docsy-2026-0918
Sep 18, 2026
Merged

chalin merged 4 commits into
docsy:mainfrom
chalin:chalin-m24-zizmor-docsy-2026-0918

Conversation

@chalin

@chalin chalin commented Sep 18, 2026 •

Copy link
Copy Markdown
Collaborator
  • Scope:
    • Runs zizmor over the repo's workflows through the OpenTelemetry shared workflow, pinned by SHA
    • Extends the supply-chain audit to reusable-workflow calls, which it previously refused by design
    • Absorbs the first pass's three findings: cache restore out of the token-holding refresh job, smoke's matrix value via env, publish's id-token grant documented
  • Out of scope:
    • Remaining hygiene findings (job names, concurrency): left as is
    • Merge-blocking code-scanning rule: a repository-settings step, right after merge
  • Reviewing: start with zizmor.yaml and the audit-test hunk; the link-cache seed only keeps the site's link check green until the workflow is on main
  • Preview(s):

Runs zizmor (pedantic persona) over the repo's workflows through the
OpenTelemetry shared workflow, pinned at v0.13.0, on PRs, main pushes,
weekly and on dispatch; results upload to the Security tab. Extends the
supply-chain audit to cover reusable-workflow calls (SHA pin, no secrets)
and documents the integration in the maintainer notes.
- link-cache-refresh: no npm cache restore in the job holding write tokens
  (posture rule, not a zizmor finding)
- smoke: pass the matrix value through env rather than template expansion
- publish: document the id-token grant inline
@chalin chalin added this to the 0.18.0 milestone Sep 18, 2026
@netlify

netlify Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsydocs ready!

Name Link
🔨 Latest commit 4643ddb
🔍 Latest deploy log https://app.netlify.com/projects/docsydocs/deploys/6aadc2d12dde6d00083c4872
😎 Deploy Preview https://deploy-preview-2811--docsydocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

The maintainer notes own the reporting limit and pin chain; the workflow
header keeps a purpose line and the link. The local-run VERSION now points
at what the workflow actually ran. Test and publish comments drop what the
asserts and header already say.
The audit's workflow-level env screen moves ahead of the job loop, so a
workflow made only of reusable-workflow calls is screened too. Adds the
For-maintainers changelog entry and unpresumes the ruleset wording.
@chalin
chalin merged commit 73fc6a6 into docsy:main Sep 18, 2026
14 checks passed
@chalin
chalin deleted the chalin-m24-zizmor-docsy-2026-0918 branch September 18, 2026 23:46
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