mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-09 07:35:43 +02:00
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>
This commit is contained in:
parent
33118a53ac
commit
b0e9368d0f
1 changed files with 7 additions and 5 deletions
12
.github/workflows/codespell.yml
vendored
12
.github/workflows/codespell.yml
vendored
|
@ -8,18 +8,20 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v26.1
|
uses: tj-actions/changed-files@v26.1
|
||||||
with:
|
with:
|
||||||
# Ignore all other languages except English
|
# Ignore all other languages except English
|
||||||
files_ignore: pages.*/*/*
|
files_ignore: |
|
||||||
|
pages.*/*/*
|
||||||
|
package-lock.json
|
||||||
|
|
||||||
- uses: codespell-project/actions-codespell@master
|
- uses: codespell-project/actions-codespell@master
|
||||||
with:
|
with:
|
||||||
ignore_words_file: .github/codespell-ignore
|
ignore_words_file: .github/codespell-ignore
|
||||||
# Exit with 0 regardless of typos.
|
# Exit with 0 regardless of typos.
|
||||||
only_warn: 1
|
only_warn: 1
|
||||||
# Only check files in the PR
|
# Only check files in the PR
|
||||||
path: ${{ steps.changed-files.outputs.all_changed_files }}
|
path: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue