-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
111 lines (90 loc) · 2.89 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
name: "cppcheck-action"
author: deep5050
description: "Find potential vulnerabilities in your C/C++ codes"
inputs:
github_token:
description: "GITHUB_TOKEN secret < automatically provided by Github , you don't need to set up >"
required: true
# github_username:
# description: GitHub account name
# default: "cppcheck-action"
# github_email:
# description: GitHub account email
# default: "cppcheck-action@master"
# commit_msg:
# description: custom commit message
# default: "cppcheck report added or updated"
check_library:
description: "Show information messages when library files have info."
default: "disable"
required: false
skip_preprocessor:
description: "Print preprocessor output on stdout and don't do any further processing."
default: "disable"
required: false
enable:
description: "Enable additional checks"
default: "all"
required: false
exclude_check:
description: "Give a source file or source file directory to exclude from the check"
default: "disable"
required: false
inconclusive:
description: " Allow that Cppcheck reports even though the analysis is inconclusive."
default: "enable"
required: false
inline_suppression:
description: "Enable inline suppressions"
default: "disable"
required: false
force_language:
description: "Forces cppcheck to check all files as the given language"
default: "disable"
required: false
force:
description: "Force checking of all configurations in files"
default: "disable"
required: false
max_ctu_depth:
description: "Max depth in whole program analysis"
default: "disable"
required: false
platform:
description: "Specifies platform specific types and sizes"
default: "disable"
required: false
std:
description: "Set the C/C++ standard"
default: "c++20"
required: false
output_file:
description: "file where the result to be dumped"
default: "cppcheck_report.txt"
required: false
target_branch:
description: "Branch that the badge will target. Defaults to the current branch."
default: ""
required: false
other_options:
description: "Any other options you want to add, separate with a space, wrong options will cause a failure"
default: "disable"
required: false
pull_request_branch:
description: "Branch that the action will target on pull_request. Defaults to GITHUB_BASE_REF."
default: ""
required: false
target_repository:
description: "Repository that the report will be pushed on. Defaults to the current repository."
default: ""
required: false
pull_request_repository:
description: "Repository that the action will target on pull_request. Defaults to TARGET_REPOSITORY"
default: ""
required: false
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "check-circle"
color: "red"