Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As suggested by @daquinteroflex, the pre-commit config now uses zizmor without a requirement on poetry
Greptile Overview
Updated On: 2025-10-20 12:57:03 UTC
Greptile Summary
This PR adds zizmor, a security auditing tool for GitHub Actions workflows, to the pre-commit configuration. Zizmor will run automatically on commits to catch potential security issues in CI/CD workflows before they reach the repository. The tool is added via the
zizmor-pre-commitrepository at version v1.15.2, requiring no changes to existing dependencies or Poetry configuration. This enhances the repository's existing quality gates (Ruff for linting, Commitlint for commit messages) by adding security-focused checks for GitHub Actions workflows defined in.github/workflows/.Changed Files
.pre-commit-config.yamlConfidence score: 3/5
zizmor-pre-commitrepository URL - the official zizmor project repository should be verified ashttps://github.com/zizmorcore/zizmor-pre-commitmay not be the correct/official source (the main zizmor project is athttps://github.com/woodruffw/zizmor)Sequence Diagram
sequenceDiagram participant Developer participant "Git (pre-commit)" as Git participant "Ruff Linter" as Ruff participant "Ruff Formatter" as Format participant "Commitlint" as Commit participant "Zizmor" as Zizmor Developer->>Git: "git commit" Note over Git: pre-commit stage Git->>Ruff: "Run ruff-check --fix" Ruff-->>Git: "Linting results" Git->>Format: "Run ruff-format" Format-->>Git: "Formatting results" Note over Git: commit-msg stage Git->>Commit: "Run commitlint (non-blocking)" Commit-->>Git: "Validation results (exit 0)" Git->>Zizmor: "Run zizmor linter" Zizmor-->>Git: "Security analysis results" Git-->>Developer: "Commit success/failure"