who: update deprecated command #13250
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Codespell | |
on: | |
pull_request: | |
# Ignore all other languages except English | |
paths-ignore: | |
- 'pages.*/*/*' | |
- 'contributing-guides/style-guide.*.md' | |
- 'package-lock.json' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/[email protected] | |
with: | |
# Ignore all other languages except English | |
files_ignore: | | |
pages.*/*/* | |
contributing-guides/style-guide.*.md | |
package-lock.json | |
- uses: codespell-project/actions-codespell@v2 | |
with: | |
ignore_words_file: .github/codespell-ignore | |
# Exit with 0 regardless of typos. | |
only_warn: 1 | |
# Skip non-English pages | |
skip: ./pages.*/*/*.md,./contributing-guides/style-guide.*.md | |
# Only check files in the PR | |
path: ${{ steps.changed-files.outputs.all_changed_files }} |