Skip to content

Commit fa861bc

Browse files
committed
ci: add spell-check workflows
Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
1 parent b330f8a commit fa861bc

3 files changed

Lines changed: 56 additions & 0 deletions

File tree

.cspell.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"ignorePaths": [],
3+
"ignoreRegExpList": [],
4+
"words": []
5+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: spell-check-daily
2+
3+
on:
4+
schedule:
5+
- cron: 0 0 * * *
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
spell-check-daily:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Check out repository
17+
uses: actions/checkout@v6
18+
19+
- name: Run spell-check
20+
uses: autowarefoundation/autoware-github-actions/spell-check@v1
21+
with:
22+
local-cspell-json: .cspell.json
23+
incremental-files-only: false
24+
cspell-json-url: https://raw.githubusercontent.com/tier4/autoware-spell-check-dict/main/.cspell.json
25+
dict-packages: |
26+
https://github.com/autowarefoundation/autoware-spell-check-dict
27+
https://github.com/tier4/cspell-dicts
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: spell-check-differential
2+
3+
on:
4+
pull_request:
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
spell-check-differential:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check out repository
15+
uses: actions/checkout@v6
16+
17+
- name: Run spell-check
18+
uses: autowarefoundation/autoware-github-actions/spell-check@v1
19+
with:
20+
local-cspell-json: .cspell.json
21+
cspell-json-url: https://raw.githubusercontent.com/autowarefoundation/autoware-spell-check-dict/main/.cspell.json
22+
dict-packages: |
23+
https://github.com/autowarefoundation/autoware-spell-check-dict
24+
https://github.com/tier4/cspell-dicts

0 commit comments

Comments
 (0)