There was an error while loading. Please reload this page.
1 parent cd648ef commit 5ccf431Copy full SHA for 5ccf431
1 file changed
.github/workflows/ci.yml
@@ -86,7 +86,7 @@ jobs:
86
- name: Generate badge
87
if: always()
88
run: |
89
- VIOLATIONS=$(tail -1 ruff.txt | grep -oP '\d+')
+ VIOLATIONS=$(tail -1 ruff.txt | grep -oP '\d+' || echo 0)
90
if [ "$VIOLATIONS" -eq 0 ]; then
91
uv run anybadge --label=ruff --value=passing --color=green --file=ruff.svg
92
else
0 commit comments