For managing multiple ignores or entire files, use a zizmor.yml configuration file. You can place it in the project directory for automatic discovery or specify it explicitly using --config or the ZIZMOR_CONFIG environment variable.
Ignore Syntax:
Use the format workflow.yml:line:col to target specific locations. Both line and col are optional and 1-based.
Example zizmor.yml structure:
rules:
template-injection:
ignore:
- safe.yml # Ignores all findings in this file
- somewhat-safe.yml:123 # Ignores findings on line 123
- one-exact-spot.yml:123:456 # Ignores a specific line and column