diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b459973af..cd67de9d8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -46,6 +46,10 @@ jobs: echo "linting ${KB}" qmk lint --keyboard ${KB} && qmk info -l --keyboard ${KB} + exit_code=$(($exit_code + $?)) fi done + if [[ $exit_code -gt 255 ]]; then + exit 255 + fi exit $exit_code