mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-01 05:45:33 +08:00
556fee405f
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 46.0.3 to 46.0.4. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/823fcebdb31bb35fdf2229d9f769b400309430d0...6cb76d07bee4c9772c6882c06c37837bf82a04d3) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-version: 46.0.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
- name: Get changed files
|
|
id: changed-files
|
|
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46.0.4
|
|
with:
|
|
# Ignore all other languages except English
|
|
files_ignore: |
|
|
pages.*/*/*
|
|
contributing-guides/style-guide.*.md
|
|
package-lock.json
|
|
|
|
- uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2.1
|
|
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 }}
|