-
Notifications
You must be signed in to change notification settings - Fork 10
/
action.yml
43 lines (36 loc) · 950 Bytes
/
action.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
name: 'Run AndroidLint with reviewdog'
description: 'Run AndroidLint with reviewdog'
author: 'dvdandroid'
inputs:
github_token:
description: 'GITHUB_TOKEN'
required: true
lint_xml_file:
description: 'Path of Android Lint XML file'
required: true
level:
description: 'Report level for reviewdog [info, warning, error]'
required: false
default: 'error'
reporter:
description: |
Reporter of reviewdog command [github-check, github-pr-check, github-pr-review].
Default is github-check.
required: false
default: 'github-check'
reviewdog_flags:
description: 'Additional reviewdog flags'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.github_token }}
- ${{ inputs.lint_xml_file }}
- ${{ inputs.level }}
- ${{ inputs.reporter }}
- ${{ inputs.reviewdog_flags }}
branding:
icon: 'smartphone'
color: 'green'