Skip to content

Commit b093d76

Browse files
committed
New script
1 parent 6dcddae commit b093d76

File tree

3 files changed

+21
-49
lines changed

3 files changed

+21
-49
lines changed

.github/workflows/dockerimage.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 20 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,29 @@
11
name: Test
2-
on:
3-
push:
4-
branches:
5-
- master
6-
pull_request:
2+
on: [pull_request]
73
jobs:
8-
test-check:
9-
name: runner / haml-lint (github-check)
4+
haml-lint:
5+
name: runner / haml-lint
106
runs-on: ubuntu-latest
117
steps:
128
- uses: actions/checkout@v3
13-
- uses: ./
9+
- name: 1
10+
uses: ./
1411
with:
1512
github_token: ${{ secrets.github_token }}
1613
reporter: github-check
1714
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

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 'Run haml-lint via reviewdog'
22
description: '🐶 Run haml-lint with reviewdog on pull requests to improve code review experience.'
3-
author: 'Anton Dalgren'
3+
author: 'pcothenet'
44
inputs:
55
github_token:
66
description: 'GITHUB_TOKEN'

0 commit comments

Comments
 (0)