Skip to content

fix(ci): fail reviewdog jobs at any finding level#92

Merged
benner merged 1 commit into
mainfrom
fix/lint-workflows-reviewdog-fail-handling
May 4, 2026
Merged

fix(ci): fail reviewdog jobs at any finding level#92
benner merged 1 commit into
mainfrom
fix/lint-workflows-reviewdog-fail-handling

Conversation

@benner
Copy link
Copy Markdown
Owner

@benner benner commented May 4, 2026

-fail-on-error and the wrappers' fail_on_error: true map to
fail_level=error, so only error-severity findings tripped the
threshold. zizmor reported PR #91's pre-fix template-injection at a
lower severity, which slipped through and merged. Move the manual
reviewdog calls and the action-actionlint/action-markdownlint
wrappers to fail_level=any so info and warning findings block too.
Add set -o pipefail to the manual pipelines so an upstream tool
crash isn't masked by a clean reviewdog exit.

-fail-on-error and the wrappers' fail_on_error: true map to
fail_level=error, so only error-severity findings tripped the
threshold. zizmor reported PR #91's pre-fix template-injection at a
lower severity, which slipped through and merged. Move the manual
reviewdog calls and the action-actionlint/action-markdownlint
wrappers to fail_level=any so info and warning findings block too.
Add set -o pipefail to the manual pipelines so an upstream tool
crash isn't masked by a clean reviewdog exit.

Signed-off-by: Nerijus Bendžiūnas <nerijus.bendziunas@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

Coverage

Coverage Report (Δ +0.0%)
FileStmtsMissCoverMissing
src/git_commit_guard
   __init__.py4710100% 
TOTAL4710100% 

@benner benner marked this pull request as ready for review May 4, 2026 03:24
@benner benner merged commit e5539ca into main May 4, 2026
7 checks passed
@benner benner deleted the fix/lint-workflows-reviewdog-fail-handling branch May 4, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant