We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7de8afc commit b3f7d5eCopy full SHA for b3f7d5e
.github/workflows/typos_check.yml
@@ -1,8 +1,7 @@
1
name: Typos Check
2
on:
3
+ workflow_dispatch:
4
push:
- branches:
5
- - main
6
pull_request:
7
types: [opened, synchronize, reopened]
8
@@ -12,9 +11,19 @@ jobs:
12
11
runs-on: ubuntu-latest
13
steps:
14
- name: Checkout Actions Repository
15
- uses: actions/checkout@v2
16
-
+ uses: actions/checkout@v4
+ with:
+ ref: ${{ github.ref_name }}
17
+ - name: Create config file
18
+ run: |
19
+ cat <<EOF > typo-check-config.toml
20
+ [files]
21
+ extend-exclude = [
22
+ "**/*_svg",
23
+ "**/migrations/**"
24
+ ]
25
+ EOF
26
- name: Check spelling
27
uses: crate-ci/typos@master
28
with:
- args: '--exclude "**/*_svg" --exclude "**/migrations/**"'
29
+ config: ./typo-check-config.toml
0 commit comments