Skip to content

Generate zizmor-compliant release.yml workflow files #13

Open
@AlexWaygood

Description

@AlexWaygood

We run zizmor in Ruff's CI (via pre-commit), which is a linter that checks GitHub workflow files for security issues:

But the workflow file generated by dist doesn't pass zizmor, meaning we have to exclude it from the check (currently it's excluded from all pre-commit lints: https://github.com/astral-sh/ruff/blob/33a56f198b3653312f9adb4bc8be41aedce52fbc/.pre-commit-config.yaml#L3-L5). That feels sort-of ironic, since potential security issues are arguably more important in the release workflow than in any other workflow. It would be great if the workflow files generated by dist could be guaranteed to be zizmor-compliant out of the box, so that we didn't have to exclude them from the check in Ruff's CI

This isn't particularly high-priority, though -- more of a nice-to-have!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions