Fix exit code to return 0 when all findings are auto-fixable (#1242)

Co-authored-by: William Woodruff <william@yossarian.net>
This commit is contained in:
Chase Naples 2025-10-14 20:57:34 -04:00 committed by GitHub
parent a4c6c3bb9f
commit eeac63b339
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 101 additions and 18 deletions

View file

@ -9,6 +9,14 @@ of `zizmor`.
## Next (UNRELEASED)
### Enhancements 🌱
* When running in `--fix` mode and all fixes are successfully applied,
`zizmor` now has similar [exit code] behavior as the `--no-exit-codes`
and `--format=sarif` flags (#1242)
Many thanks to @cnaples79 for implementing this improvement!
## 1.15.2
### Bug Fixes 🐛
@ -1161,3 +1169,5 @@ This is one of `zizmor`'s bigger recent releases! Key enhancements include:
[ref-version-mismatch]: ./audits.md#ref-version-mismatch
[dependabot-execution]: ./audits.md#dependabot-execution
[dependabot-cooldown]: ./audits.md#dependabot-cooldown
[exit code]: ./usage.md#exit-codes