From 11595956655431ff6b528709ea0b02c5f5e9e02f Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Date: Thu, 16 Nov 2023 20:37:37 +0100 Subject: [PATCH] CI/codespell: only run on changed English files (#11518) --- .github/workflows/codespell.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 70a53323f..84bd81dbb 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -1,6 +1,12 @@ name: Codespell -on: ['pull_request'] +on: + pull_request: + # Ignore all other languages except English + paths-ignore: + - 'pages.*/*/*' + - 'contributing-guides/style-guide.*.md' + - 'package-lock.json' jobs: build: @@ -16,6 +22,7 @@ jobs: # Ignore all other languages except English files_ignore: | pages.*/*/* + contributing-guides/style-guide.*.md package-lock.json - uses: codespell-project/actions-codespell@v2