-
-
Notifications
You must be signed in to change notification settings - Fork 8
38 lines (34 loc) · 942 Bytes
/
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
name: reviewdog
on:
push:
branches:
- master
pull_request:
jobs:
ansible-lint:
name: runner / ansible-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: ansible-lint github-pr-check
uses: ./
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
ansiblelint_flags: "testdata/test.yml"
- name: ansible-lint github-check
uses: ./
with:
github_token: ${{ secrets.github_token }}
reporter: github-check
level: warning
ansiblelint_flags: "testdata/test.yml"
- name: ansible-lint github-pr-review
uses: ./
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
ansiblelint_flags: "testdata/test.yml"