Skip to content

Commit 4058bc6

Browse files
committed
More debugging
1 parent 943626a commit 4058bc6

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/basic-qa.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,16 @@ jobs:
8282
echo ${{ steps.spellcheck.outputs.number_of_files_with_issues }}
8383
8484
# Note: if less issues than expected were found, these numbers should be updated in the PR which fixes the issues!
85-
- name: Fail the build when more spelling issues were found than expected
85+
- name: Fail the build when more spelling issues were found than expected - part 1
86+
if: ${{ always() }}
87+
run: exit 1
88+
89+
- name: Fail the build when more spelling issues were found than expected - part 2
90+
# yamllint disable-line rule:line-length
91+
if: ${{ always() && steps.spellcheck.outputs.number_of_issues != 4 }}
92+
run: exit 1
93+
94+
- name: Fail the build when more spelling issues were found than expected - part 3
8695
# yamllint disable-line rule:line-length
87-
if: ${{ always() && steps.spellcheck.outputs.number_of_issues != '4' && steps.spellcheck.outputs.number_of_files_with_issues != '3' }}
96+
if: ${{ always() && steps.spellcheck.outputs.number_of_files_with_issues != 3 }}
8897
run: exit 1

0 commit comments

Comments
 (0)