From 37e196deea5dbb2362c8ea6771f44094b0296d27 Mon Sep 17 00:00:00 2001 From: Gjermund Garaba Date: Tue, 31 Dec 2024 01:10:00 +0100 Subject: [PATCH] fail code spell checker on PRs --- .github/workflows/spell-checker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/spell-checker.yml b/.github/workflows/spell-checker.yml index e53ccebcf64..746bdbbd2de 100644 --- a/.github/workflows/spell-checker.yml +++ b/.github/workflows/spell-checker.yml @@ -22,7 +22,7 @@ jobs: - name: Install codespell run: pip install codespell - name: Run codespell - continue-on-error: true + continue-on-error: ${{ github.event_name != 'pull_request' }} run: codespell -w --skip="*.pb.go,*.pb.gw.go,*.json,*.git,*.js,*.h,*.bin,go.sum,go.mod,*.pdf,*.tla" --ignore-words=.github/.codespellignore --check-hidden - uses: peter-evans/create-pull-request@v7 if: github.event_name != 'pull_request'