CI/codespell: only run on changed English files (#11518)
This commit is contained in:
9
.github/workflows/codespell.yml
vendored
9
.github/workflows/codespell.yml
vendored
@@ -1,6 +1,12 @@
|
|||||||
name: Codespell
|
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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -16,6 +22,7 @@ jobs:
|
|||||||
# Ignore all other languages except English
|
# Ignore all other languages except English
|
||||||
files_ignore: |
|
files_ignore: |
|
||||||
pages.*/*/*
|
pages.*/*/*
|
||||||
|
contributing-guides/style-guide.*.md
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
|
||||||
- uses: codespell-project/actions-codespell@v2
|
- uses: codespell-project/actions-codespell@v2
|
||||||
|
Reference in New Issue
Block a user