mirror of
https://github.com/zizmorcore/zizmor.git
synced 2025-12-23 08:47:33 +00:00
feat: add ZIZMOR_CONFIG (#789)
This commit is contained in:
parent
de2e68f63c
commit
1e123cfbe5
4 changed files with 15 additions and 2 deletions
|
|
@ -502,6 +502,14 @@ the `--config` argument. With `--config`, the file can be named anything:
|
|||
zizmor --config my-zizmor-config.yml /dir/to/audit
|
||||
```
|
||||
|
||||
!!! tip
|
||||
|
||||
Starting with `v1.8.0`, you can use the `ZIZMOR_CONFIG` environment
|
||||
variable to specify a configuration file.
|
||||
|
||||
`ZIZMOR_CONFIG=my-config.yml` is equivalent to
|
||||
`--config my-config.yml`.
|
||||
|
||||
[will discover it]: ./configuration.md#precedence
|
||||
|
||||
See [Configuration: `rules.<id>.ignore`](./configuration.md#rulesidignore) for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue