Skip to content

Commit e7bed7c

Browse files
Wires77Nightblade
andauthored
[PATCH] chore: update cspell to run on push, bump action version numbers, fiddle with yaml list a bit (#8979)
Co-authored-by: Nightblade <Nightblade@users.noreply.github.com>
1 parent d2524f9 commit e7bed7c

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/spellcheck.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
name: 'Spell Checker'
1+
name: Spell Checker
22

33
on:
4+
push:
5+
branches: [ dev ]
46
pull_request:
57
branches: [ dev ]
68
workflow_dispatch:
@@ -13,27 +15,26 @@ on:
1315
jobs:
1416
spellcheck:
1517
runs-on: ubuntu-latest
16-
env:
18+
env:
1719
CONFIG_URL: https://raw.githubusercontent.com/Nightblade/pob-dict/main
1820
steps:
19-
2021
- name: Checkout
21-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2223
with:
2324
ref: ${{ inputs.ref }}
2425

2526
- name: Fetch config file and dictionaries
26-
run: |
27-
curl --silent --show-error --parallel --remote-name-all \
28-
${{ env.CONFIG_URL }}/cspell.json \
29-
${{ env.CONFIG_URL }}/pob-dict.txt \
30-
${{ env.CONFIG_URL }}/poe-dict.txt \
31-
${{ env.CONFIG_URL }}/ignore-dict.txt \
32-
${{ env.CONFIG_URL }}/extra-en-dict.txt \
27+
run:
28+
curl --silent --show-error --parallel --remote-name-all
29+
${{ env.CONFIG_URL }}/cspell.json
30+
${{ env.CONFIG_URL }}/pob-dict.txt
31+
${{ env.CONFIG_URL }}/poe-dict.txt
32+
${{ env.CONFIG_URL }}/ignore-dict.txt
33+
${{ env.CONFIG_URL }}/extra-en-dict.txt
3334
${{ env.CONFIG_URL }}/contribs-dict.txt
3435

3536
- name: Run cspell
36-
uses: streetsidesoftware/cspell-action@v6.9.0
37+
uses: streetsidesoftware/cspell-action@v7
3738
with:
3839
files: '**' # needed as workaround for non-incremental runs (overrides in config still work ok)
3940
config: "cspell.json"

0 commit comments

Comments
 (0)