Skip to content

Commit

Permalink
Fix spellcheck workflow -- renaming master->main (#190)
Browse files Browse the repository at this point in the history
* Fix spellcheck workflow -- renaming master->main
  • Loading branch information
kralka authored Jan 19, 2024
1 parent 5e75d97 commit 873dae4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "21"
- name: Install cspell
run: npm install --location=global cspell
- name: Run spell checking
Expand All @@ -28,8 +28,8 @@ jobs:
echo ::add-matcher::./.github/cspell_matcher.json
# Set internal field separator (filenames can have space in them).
IFS=$'\n'
# Find out which files were changed since master.
git diff --name-only origin/master..${{ github.event.after }} | { # Open sub-shell
# Find out which files were changed since main.
git diff --name-only origin/main..${{ github.event.after }} | { # Open sub-shell
# Spell check all files and remember if some failed.
EXIT_CODE=0
# Loop over the changed files.
Expand Down

0 comments on commit 873dae4

Please sign in to comment.