Skip to content

Commit 586e995

Browse files
authored
Merge pull request #4172 from AkihiroSuda/ci-spellcheck
CI: run spell checks for doc-only PRs too
2 parents db17df8 + 030fa1f commit 586e995

File tree

2 files changed

+22
-12
lines changed

2 files changed

+22
-12
lines changed

.github/workflows/spell.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# split from test.yml so as to run spell checks for doc-only PRs too
2+
name: spell
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
- 'release/**'
9+
pull_request:
10+
11+
jobs:
12+
spell:
13+
name: "Spell check"
14+
runs-on: ubuntu-24.04
15+
timeout-minutes: 5
16+
steps:
17+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
18+
- uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2.1
19+
with:
20+
check_filenames: true
21+
check_hidden: true
22+
# by default, codespell uses configuration from the .codespellrc

.github/workflows/test.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,6 @@ jobs:
101101
steps:
102102
- uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
103103

104-
spell:
105-
name: "Spell check"
106-
runs-on: ubuntu-24.04
107-
timeout-minutes: 5
108-
steps:
109-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
110-
- uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2.1
111-
with:
112-
check_filenames: true
113-
check_hidden: true
114-
# by default, codespell uses configuration from the .codespellrc
115-
116104
unit:
117105
name: "Unit tests"
118106
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)