Skip to content

Commit 1d4910b

Browse files
committed
Update spell check workflow
1 parent 9934b7c commit 1d4910b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: .github/workflows/spell-check.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
# Source: https://github.com/per1234/.github/blob/main/workflow-templates/spell-check.md
12
name: Spell Check
23

3-
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4+
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
45
on:
56
push:
67
pull_request:
@@ -13,10 +14,12 @@ on:
1314
jobs:
1415
spellcheck:
1516
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
1619

1720
steps:
1821
- name: Checkout repository
1922
uses: actions/checkout@v3
2023

2124
- name: Spell check
22-
uses: codespell-project/actions-codespell@master
25+
uses: codespell-project/actions-codespell@v2

0 commit comments

Comments
 (0)