Skip to content

Commit

Permalink
CI: Replace codespell with typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Sep 10, 2023
1 parent 6589139 commit cf2f444
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
name: Typos
on:
push:
branches: [master]
pull_request:

name: Codespell

push:
branches:
- "master"
jobs:
codespell:
runs-on: ubuntu-22.04
typos:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@master
with:
check_filenames: true
skip: "./.git/**,./flat-manager/dist/index.js,./flatpak-builder/dist/index.js,**/yarn.lock"
builtin: "clear,rare,informal,usage,code"
ignore_words_list: "master" # can't do much about it, flatpak uses it by default
- name: Checkout Actions Repository
uses: actions/checkout@v4
- name: Check spelling
uses: crate-ci/typos@master
2 changes: 2 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[files]
extend-exclude = ["**/dist/index.js"]

0 comments on commit cf2f444

Please sign in to comment.