File tree Expand file tree Collapse file tree 1 file changed +42
-1
lines changed
Expand file tree Collapse file tree 1 file changed +42
-1
lines changed Original file line number Diff line number Diff line change 11name : reviewdog
22on : [pull_request]
3+
4+ permissions :
5+ contents : read
6+ pull-requests : write
7+ issues : write
8+
39jobs :
10+ golangci-lint :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ - name : golangci-lint
15+ uses : reviewdog/action-golangci-lint@v2
16+ with :
17+ github_token : ${{ secrets.GITHUB_TOKEN }}
18+ level : warning
19+ golangci_lint_flags : " --config=.golangci.yaml"
20+ filter_mode : diff_context
21+ reporter : github-pr-review
22+ fail_on_error : true
23+
424 staticcheck :
5- name : staticcheck
625 runs-on : ubuntu-latest
726 steps :
827 - uses : actions/checkout@v3
928 - uses : reviewdog/action-staticcheck@v1
1029 with :
1130 github_token : ${{ secrets.GITHUB_TOKEN }}
1231 reporter : github-pr-review
32+ filter_mode : diff_context
33+ fail_on_error : true
34+
35+ actionlint :
36+ runs-on : ubuntu-latest
37+ steps :
38+ - uses : actions/checkout@v3
39+ - uses : reviewdog/action-actionlint@v1
40+ with :
41+ reporter : github-pr-review
42+ filter_mode : diff_context
43+ fail_on_error : true
44+
45+ misspell :
46+ runs-on : ubuntu-latest
47+ steps :
48+ - uses : actions/checkout@v3
49+ - uses : reviewdog/action-misspell@v1
50+ with :
51+ reporter : github-pr-review
52+ level : warning
53+ filter_mode : diff_context
1354 fail_on_error : true
You can’t perform that action at this time.
0 commit comments