Skip to content

chore(deps): update actions/checkout action to v4.2.0 #190

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

chore(deps): update actions/checkout action to v4.2.0 #190

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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Install Node.js
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
# renovate: datasource=github-tags depName=nodejs/node versioning=node
node-version: 20
- 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 {} \;