Fix broken link #643
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Spell Checker | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Spell Checker | |
runs-on: ubuntu-latest | |
steps: | |
# Git Checkout | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} | |
fetch-depth: 0 | |
- name: Spell Check | |
uses: streetsidesoftware/cspell-action@v3 | |
with: | |
github_token: '${{ secrets.PAT || secrets.GITHUB_TOKEN }}' | |
files: '**/*.md' | |
incremental_files_only: true | |
config: '.' | |
# Setup Node | |
# - name: Setup Node 18 | |
# uses: actions/setup-node@v3 | |
# with: | |
# node-version: 18 | |
# - name: Install spell checker | |
# run: npm i -g cspell@^6.31.2 | |
# # cspell | |
# - name: Run spell checker | |
# run: cspell lint -c cspell.json --show-context --no-progress --relative "**/*.md" |