Files
tldr/.github/workflows/codespell.yml
T
dependabot[bot] 51e769d50c build(deps): bump tj-actions/changed-files from 47.0.0 to 47.0.1 (#20016)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 18:37:34 +02:00

39 lines
1.1 KiB
YAML

name: Codespell
permissions:
contents: read
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@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
package-lock.json
- uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2
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 }}