mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0...3d3c42e5aac5ba805825da76410c181273ba90b1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 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>
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
- name: Get changed files
|
|
id: changed-files
|
|
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47.0.6
|
|
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 }}
|