Skip to content

chore(deps): update actions/checkout action to v4.2.2 #227

chore(deps): update actions/checkout action to v4.2.2

chore(deps): update actions/checkout action to v4.2.2 #227

name: markdown-mdspell
on:
push:
branches-ignore:
- main
paths:
- "**.md"
- .github/workflows/markdown-mdspell.yml
- .spelling
permissions: read-all
jobs:
markdown-mdspell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
# renovate: datasource=github-tags depName=nodejs/node versioning=node
node-version: 22
- name: Install markdown-spellcheck
run: npm install -g markdown-spellcheck
- name: Run mdspell
run: |
set -euxo pipefail
find . -type f \( -name "*.md" ! -name "CHANGELOG.md" \) -print0 | xargs -0 --max-args=1 mdspell --ignore-numbers --ignore-acronyms --report --en-gb {} \;