Skip to content

Commit 75d9abb

Browse files
committed
ci(rstcheck): fix exit code
I seem to have forgotten how test works. Just use the test exit code directly. Signed-off-by: Randolph Sapp <[email protected]>
1 parent 7e5835e commit 75d9abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/rstcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
echo "$(wc -l < _new-warn.log)" > ./results/problem-count
5454
5555
# Exit with error if there are new warnings
56-
[ "$WARNING_COUNT" -gt "0" ] && exit 1
56+
[ "$WARNING_COUNT" -eq "0" ]
5757
5858
- name: Save results
5959
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)