Skip to content

Commit db65037

Browse files
committed
Move Vale continue-on-error to step level
Move `continue-on-error` from job to step level in the spelling check workflow. This ensures the job concludes with success status while keeping Vale findings visible in logs. Job-level `continue-on-error` keeps the overall run green but leaves the job's check run as failure, blocking required status checks. Updated comments to explain the reasoning.
1 parent 542363a commit db65037

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,6 @@ jobs:
111111
spelling:
112112
name: Spelling
113113
runs-on: ubuntu-latest
114-
# Vale is advisory only: it surfaces spelling/style findings but must not block
115-
# merges, since it produces false positives on valid technical content (code
116-
# identifiers, product names, intentional ellipses). The job still runs and
117-
# reports its findings, but always reports success. Do not make this a required
118-
# check in branch protection.
119-
continue-on-error: true
120114
strategy:
121115
fail-fast: false
122116
matrix:
@@ -149,6 +143,14 @@ jobs:
149143
(cd .github-actions/docs-spelling-check && vale sync)
150144
- name: Run Vale
151145
if: steps.changed-files.outputs.any_changed == 'true'
146+
# Vale is advisory only and must not block merges: it produces false positives on
147+
# valid technical content (code identifiers like `wagmi-tab`, product names,
148+
# intentional ellipses). `continue-on-error` MUST be at the step (not the job) so
149+
# the job still concludes "success" and the required "Spelling" check passes while
150+
# findings stay visible in the logs. Job-level `continue-on-error` does not work
151+
# here: it only keeps the overall run green, but the job's own check run stays
152+
# "failure" and a required status check keeps blocking the merge.
153+
continue-on-error: true
152154
env:
153155
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
154156
run: |

0 commit comments

Comments
 (0)