Skip to content

Scope zizmor CI scan to .github changes only - #1097

Merged
danbarr merged 1 commit into
mainfrom
widen-zizmor-scope
Aug 10, 2026
Merged

Scope zizmor CI scan to .github changes only#1097
danbarr merged 1 commit into
mainfrom
widen-zizmor-scope

Conversation

@danbarr

@danbarr danbarr commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Description

Follow-up to #1094:

  • Add a paths: filter so the zizmor workflow only runs on pushes/PRs that touch .github/workflows/ or .github/actions/, instead of every push and PR.
  • Widen the scan itself to include .github/actions/ (composite actions), which the workflow wasn't auditing in CI at all — the setup-action fix in Add zizmor GitHub Actions security scan to CI #1094 was only caught by running zizmor locally against both directories.

A paths: filter is safe here since this check isn't a required status check today (only Vercel is) — it won't cause the "permanently pending required check" problem that can happen if a path-filtered check is later made required.

Type of change

Other (internal)

Add a paths filter so the workflow only runs when
.github/workflows/ or .github/actions/ change, and widen the scan
itself to cover .github/actions/ (composite actions), which zizmor
was previously not auditing in CI at all.
Copilot AI lite review requested due to automatic review settings August 10, 2026 20:23
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-website Ready Ready Preview Aug 10, 2026 8:24pm

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Scopes the zizmor GitHub Actions security audit workflow so it only runs when GitHub Actions-related files change, reducing unnecessary CI noise while expanding the audit to cover composite actions as well.

Changes:

  • Add paths filters for push and pull_request so the workflow only runs when .github/workflows/** or .github/actions/** change.
  • Expand zizmor’s scan inputs to include both workflows and composite actions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@danbarr
danbarr merged commit 705fbb3 into main Aug 10, 2026
6 checks passed
@danbarr
danbarr deleted the widen-zizmor-scope branch August 10, 2026 20:47
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