File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments