Skip to content

Commit c1329b9

Browse files
committed
treat failed lint as error
1 parent d925428 commit c1329b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/lint.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,7 @@ jobs:
5252
# Upload review results as artifacts, a different workflow posts them
5353
# as comments. This is required due to security stuff.
5454
- uses: ZedThree/clang-tidy-review/upload@v0.21.0
55+
56+
# If there are any comments, fail the check
57+
- if: steps.review.outputs.total_comments > 0
58+
run: exit 1

0 commit comments

Comments
 (0)