parallel, xargs: refer to each other #25895
Workflow file for this run
This file contains hidden or 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 | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| # Ignore all other languages except English | |
| paths-ignore: | |
| - 'pages.*/*/*' | |
| - 'contributing-guides/style-guide.*.md' | |
| - 'contributing-guides/translation-templates/*' | |
| - 'package-lock.json' | |
| jobs: | |
| codespell: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Get changed files | |
| id: changed-files | |
| uses: tj-actions/changed-files@e0021407031f5be11a464abee9a0776171c79891 # v47.0.1 | |
| with: | |
| # Ignore all other languages except English | |
| files_ignore: | | |
| pages.*/*/* | |
| contributing-guides/style-guide.*.md | |
| contributing-guides/translation-templates/* | |
| package-lock.json | |
| - name: Run Codespell | |
| uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2 | |
| # Only run if there are changed files to check | |
| if: ${{ steps.changed-files.outputs.any_changed == 'true' }} | |
| with: | |
| ignore_words_file: .github/codespell-ignore | |
| # Exit with 0 regardless of typos. | |
| only_warn: 1 | |
| # Only check files in the PR | |
| path: ${{ steps.changed-files.outputs.all_changed_files }} |