Skip to content

fix: skip deleted files in zizmor audit#324

Merged
marktoda merged 1 commit into
mainfrom
fix-zizmor-deleted-files
Mar 12, 2026
Merged

fix: skip deleted files in zizmor audit#324
marktoda merged 1 commit into
mainfrom
fix-zizmor-deleted-files

Conversation

@msarkor718

Copy link
Copy Markdown
Contributor

Summary

  • Filters out deleted files before passing them to zizmor
  • Fixes invalid input error when a PR deletes a workflow file (e.g., Update site #323)

The git diff --name-only includes deleted files, but zizmor can't audit files that no longer exist on the branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Mar 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
hooklist Building Building Preview Mar 12, 2026 6:11pm

Request Review

@marktoda
marktoda merged commit b0c5b8c into main Mar 12, 2026
8 checks passed
@marktoda
marktoda deleted the fix-zizmor-deleted-files branch March 12, 2026 18:15
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