Skip to content

Commit

Permalink
Fixed git lint failure when no error occurs
Browse files Browse the repository at this point in the history
  • Loading branch information
Darrow8 committed Oct 26, 2024
1 parent 8b99510 commit fb72067
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/c_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ jobs:
format-review: true
passive-reviews: true
- name: Fail if there are linter errors
if: ${{steps.linter.outputs.clang-format-checks-failed}}
if: ${{steps.linter.outputs.clang-format-checks-failed > 0}}
run: |
echo "Linter errors occurred, failing the job."
for out in ${{steps.linter.outputs.*}}; do
echo "$out"
done
exit 1 # This will cause the step to fail

0 comments on commit fb72067

Please sign in to comment.