-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
44 lines (43 loc) · 1.14 KB
/
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
44
name: 'Run cpplint with reviewdog'
description: '🐶 Run cpplint with reviewdog on pull requests to enforce best practices'
author: 'srz-zumix'
inputs:
github_token:
description: 'GITHUB_TOKEN'
required: true
level:
description: |
Report level for reviewdog [info,warning,error].
Default is 'error'.
default: 'error'
reporter:
description: |
Reporter of reviewdog command [github-pr-check,github-pr-review].
Default is 'github-pr-check'.
default: 'github-pr-check'
reviewdog_flags:
description: |
Additional reviewdog flags.
Default is ''.
default: ''
flags:
description: |
List of arguments to send to cpplint.
Default is '--extensions=h,hpp,c,cpp,cc,cu,hh,ipp'.
default: '--extensions=h,hpp,c,cpp,cc,cu,hh,ipp'
filter:
description: |
List of filter arguments to send to cpplint.
Default is ''.
default: ''
targets:
description: |
List of file list arguments to send to cpplint.
Default is '--recursive .'.
default: '--recursive .'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'plus-circle'
color: 'blue'