Description
Pre-submission checks
- I am not reporting a bug (crash, false positive/negative, etc). These must be filed via the bug report template.
- I have looked through the open issues for a duplicate request.
What's the problem this feature will solve?
I would like to disable/ignore one or more rules completely but the closest mechanism seems to be config files.
For example I have this zizmor.yml
:
rules:
unpinned-uses:
ignore:
- "*"
This is invalid config file at the time of writing. And this is the associated error: rules.unpinned-uses.ignore: invalid workflow filename: * at line 4 column 7
.
I would like to suppress the rule unpinned-uses
completely, i.e. I wish the *
could be allowed and it would match all files. I'm aware that I could manually list all filenames here but it is cumbersome and it would break easily in the long run.
Describe the solution you'd like
Allow wildcard (or regex) matching in every rules.<id>.ignore
element. For example the following would be allowed: *.yaml
, *
.
Additional context
I'm using zizmor as an auxiliary/external checker. I would prefer it not get into the workflow files itself, that means suppressing rules via inline comment is not acceptable.