-
Notifications
You must be signed in to change notification settings - Fork 151
42 lines (36 loc) · 968 Bytes
/
spell-checker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Check Spelling
# Trigger to only run this workflow automatically on docs/ directory changes
on:
push:
branches:
- "main"
paths:
- "docs/**"
pull_request:
# Run for all PRs to develop - means PR cannot merge until unit tests pass
branches:
- develop
- main
# Skip non-code changes
paths-ignore:
- '.github/**'
- 'integrations/**'
- 'swirl-infra/**'
- 'db.sqlite3.dist'
# Allows manual run of this workflow from the Actions tab (on any branch)
workflow_dispatch:
permissions:
contents: read
actions: read
checks: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check Spelling
uses: crate-ci/typos@master # From here: https://github.com/crate-ci/typos
with:
config: ./.github/workflows/typos.toml
write_changes: true # Writes changes on the Action's local checkout