Files
tldr/.github/workflows/codespell.yml
Seth Falco b0e9368d0f ci: fix formatting and ignore package-lock.json (#9429)
Signed-off-by: Seth Falco <seth@falco.fun>

Signed-off-by: Seth Falco <seth@falco.fun>
2022-10-30 10:50:00 +00:00

28 lines
681 B
YAML

name: Codespell
on: ['pull_request']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v26.1
with:
# Ignore all other languages except English
files_ignore: |
pages.*/*/*
package-lock.json
- uses: codespell-project/actions-codespell@master
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 }}