Skip to content

Commit cf2f444

Browse files
CI: Replace codespell with typos
1 parent 6589139 commit cf2f444

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

.github/workflows/codespell.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1+
name: Typos
12
on:
2-
push:
3-
branches: [master]
43
pull_request:
5-
6-
name: Codespell
7-
4+
push:
5+
branches:
6+
- "master"
87
jobs:
9-
codespell:
10-
runs-on: ubuntu-22.04
8+
typos:
9+
name: Spell Check with Typos
10+
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
13-
- uses: codespell-project/actions-codespell@master
14-
with:
15-
check_filenames: true
16-
skip: "./.git/**,./flat-manager/dist/index.js,./flatpak-builder/dist/index.js,**/yarn.lock"
17-
builtin: "clear,rare,informal,usage,code"
18-
ignore_words_list: "master" # can't do much about it, flatpak uses it by default
12+
- name: Checkout Actions Repository
13+
uses: actions/checkout@v4
14+
- name: Check spelling
15+
uses: crate-ci/typos@master

.typos.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[files]
2+
extend-exclude = ["**/dist/index.js"]

0 commit comments

Comments
 (0)