Skip to content

Commit 45c4704

Browse files
committed
ADD TO: basic QA
1 parent adbcdf6 commit 45c4704

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/basic-qa.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959

6060
- name: Spellcheck
6161
id: spellcheck
62+
continue-on-error: true
6263
uses: streetsidesoftware/cspell-action@v7
6364
with:
6465
# 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:
6970
inline: warning
7071
treat_flagged_words_as_errors: true
7172
# Determines if the action should be failed if any spelling issues are found.
72-
strict: false
73+
strict: true
7374
# Limit the files checked to the ones in the pull request or push.
7475
incremental_files_only: false
7576

7677
# Note: if less issues than expected were found, these numbers should be updated in the PR which fixes the issues!
7778
- 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 ) }}
8080
run: exit 1

0 commit comments

Comments
 (0)