File tree Expand file tree Collapse file tree 3 files changed +21
-49
lines changed Expand file tree Collapse file tree 3 files changed +21
-49
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
name : Test
2
- on :
3
- push :
4
- branches :
5
- - master
6
- pull_request :
2
+ on : [pull_request]
7
3
jobs :
8
- test-check :
9
- name : runner / haml-lint (github-check)
4
+ haml-lint :
5
+ name : runner / haml-lint
10
6
runs-on : ubuntu-latest
11
7
steps :
12
8
- uses : actions/checkout@v3
13
- - uses : ./
9
+ - name : 1
10
+ uses : ./
14
11
with :
15
12
github_token : ${{ secrets.github_token }}
16
13
reporter : github-check
17
14
level : info
18
-
19
- test-pr-check :
20
- if : github.event_name == 'pull_request'
21
- name : runner / haml-lint (github-pr-check)
22
- runs-on : ubuntu-latest
23
- steps :
24
- - uses : actions/checkout@v3
25
- - uses : ./
26
- with :
27
- github_token : ${{ secrets.github_token }}
28
- reporter : github-pr-check
29
- level : warning
30
- workdir : ./testdata/subdir/
31
-
32
- test-pr-review :
33
- if : github.event_name == 'pull_request'
34
- name : runner / haml-lint (github-pr-review)
35
- runs-on : ubuntu-latest
36
- steps :
37
- - uses : actions/checkout@v3
38
- - uses : ./
39
- with :
40
- github_token : ${{ secrets.github_token }}
41
- reporter : github-pr-review
42
- level : error
43
- haml_lint_config : -c ./testdata/.haml-lint.yml
44
- reviewdog_flags : -filter-mode=file -fail-on-error
15
+ # - name: 2
16
+ # uses: ./
17
+ # with:
18
+ # github_token: ${{ secrets.github_token }}
19
+ # reporter: github-pr-check
20
+ # level: warning
21
+ # workdir: ./testdata/subdir/
22
+ # - name: 3
23
+ # uses: ./
24
+ # with:
25
+ # github_token: ${{ secrets.github_token }}
26
+ # reporter: github-pr-review
27
+ # level: error
28
+ # haml_lint_config: -c ./testdata/.haml-lint.yml
29
+ # reviewdog_flags: -filter-mode=file -fail-on-error
Original file line number Diff line number Diff line change 1
1
name : ' Run haml-lint via reviewdog'
2
2
description : ' 🐶 Run haml-lint with reviewdog on pull requests to improve code review experience.'
3
- author : ' Anton Dalgren '
3
+ author : ' pcothenet '
4
4
inputs :
5
5
github_token :
6
6
description : ' GITHUB_TOKEN'
You can’t perform that action at this time.
0 commit comments