File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 59
59
60
60
- name : Spellcheck
61
61
id : spellcheck
62
+ continue-on-error : true
62
63
uses : streetsidesoftware/cspell-action@v7
63
64
with :
64
65
# Define glob patterns to filter the files to be checked. Use a new line between patterns to define multiple patterns.
@@ -69,12 +70,11 @@ jobs:
69
70
inline : warning
70
71
treat_flagged_words_as_errors : true
71
72
# Determines if the action should be failed if any spelling issues are found.
72
- strict : false
73
+ strict : true
73
74
# Limit the files checked to the ones in the pull request or push.
74
75
incremental_files_only : false
75
76
76
77
# Note: if less issues than expected were found, these numbers should be updated in the PR which fixes the issues!
77
78
- name : Fail the build when more spelling issues were found than expected
78
- # yamllint disable-line rule:line-length
79
- if : ${{ steps.spellcheck.outputs.success == false && steps.spellcheck.outputs.number_of_issues != 5 && steps.spellcheck.outputs.number_of_files_with_issues != 3}}
79
+ if : ${{ always() && ( steps.spellcheck.outputs.number_of_issues != 5 || steps.spellcheck.outputs.number_of_files_with_issues != 3 ) }}
80
80
run : exit 1
You can’t perform that action at this time.
0 commit comments