From 8666655098206e838efab44db2f1131d0875bb49 Mon Sep 17 00:00:00 2001 From: Austin Pray <71290498+austinpray-mixpanel@users.noreply.github.com> Date: Thu, 9 Jan 2025 18:47:27 -0600 Subject: [PATCH] fail spellcheck job if spelling errors --- .github/workflows/cspell.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cspell.yaml b/.github/workflows/cspell.yaml index 2d1aadb696..8f7d8047ef 100644 --- a/.github/workflows/cspell.yaml +++ b/.github/workflows/cspell.yaml @@ -36,7 +36,7 @@ jobs: # Notification level to use with inline reporting of spelling errors. # Allowed values are: warning, error, none # Default: warning - inline: warning + inline: error # Reports flagged / forbidden words as errors. # If true, errors will still be reported even if `inline` is "none" @@ -48,10 +48,10 @@ jobs: # Determines if the action should be failed if any spelling issues are found. # Allowed values are: true, false # Default: true - strict: false + strict: true # Limit the files checked to the ones in the pull request or push. - incremental_files_only: ${{ github.event_name != 'workflow_dispatch' }} + incremental_files_only: false # Path to `cspell.json` config: 'cspell.json'