fix: treat validation warnings as blocking failures
Warnings were previously non-blocking — the verdict step only checked for "issues that need fixing." Now any warning also triggers FAIL.
This commit is contained in:
parent
037b1940eb
commit
b81c50f7f4
1 changed files with 2 additions and 2 deletions
4
.github/workflows/validate.yml
vendored
4
.github/workflows/validate.yml
vendored
|
|
@ -144,10 +144,10 @@ jobs:
|
|||
</step>
|
||||
|
||||
<step name="verdict">
|
||||
If ANY step above found issues that need fixing, write FAIL:
|
||||
If ANY step above found issues OR warnings, write FAIL. Warnings are blocking — treat them the same as errors.
|
||||
Run: python3 -c "open('/tmp/validation-verdict','w').write('FAIL')"
|
||||
|
||||
If all steps passed with no issues, write PASS:
|
||||
Only write PASS if every step passed with zero issues and zero warnings:
|
||||
Run: python3 -c "open('/tmp/validation-verdict','w').write('PASS')"
|
||||
</step>
|
||||
claude_args: '--model us.anthropic.claude-sonnet-4-6 --allowedTools "Agent,Read,Glob,Grep,Bash(gh pr diff*),Bash(gh pr view*),Bash(gh pr comment*),Bash(gh api*),Bash(git diff*),Bash(git log*),Bash(git status*),Bash(cat *),Bash(python3 *),Bash(jq *)"'
|
||||
|
|
|
|||
Loading…
Reference in a new issue