-
Notifications
You must be signed in to change notification settings - Fork 5
87 lines (77 loc) · 1.95 KB
/
reviewdog.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: reviewdog
on: [pull_request]
jobs:
pyright:
name: pyright
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: pyright
uses: ./
with:
reporter: github-pr-review
github_token: ${{ secrets.GITHUB_TOKEN }}
shellcheck:
name: shellcheck
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
reporter: github-pr-review
exclude: "./.git/*"
fail_on_error: true
github_token: ${{ secrets.GITHUB_TOKEN }}
markdownlint:
name: markdownlint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: markdownlint
uses: reviewdog/[email protected]
with:
reporter: github-pr-review
fail_on_error: true
github_token: ${{ secrets.GITHUB_TOKEN }}
misspell:
name: misspell
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: misspell
uses: reviewdog/action-misspell@v1
with:
reporter: github-pr-review
locale: "US"
github_token: ${{ secrets.GITHUB_TOKEN }}
yamllint:
name: yamllint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: false
- name: yamllint
uses: reviewdog/action-yamllint@v1
with:
reporter: github-pr-review
github_token: ${{ secrets.GITHUB_TOKEN }}
pyflakes:
name: pyflakes
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: pyflakes
uses: reviewdog/action-pyflakes@v1
with:
reporter: github-pr-review
github_token: ${{ secrets.GITHUB_TOKEN }}