-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
48 lines (47 loc) · 2.11 KB
/
action.yml
File metadata and controls
48 lines (47 loc) · 2.11 KB
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
name: 'SRM Analysis'
description: 'Analyze your source code and binaries with SRM'
inputs:
# main config options
server-url:
description: 'the URL for the SRM server (typically ends with `/srm`)'
required: true
api-key:
description: 'an API key or Personal Access Token (PAT) to use when connecting to SRM'
required: true
project-id:
description: 'the ID of a project (an integer) created in SRM. This is required if `project-name` is not specified.'
required: false
project-name:
description: 'the name of a project created in SRM. This is required if `project-id` is not specified.'
required: false
auto-create-project:
description: 'whether SRM should automatically create a project with the given `project-name` if it does not yet exist.'
required: false
default: false
base-branch-name:
description: 'the parent branch name of a project created in SRM'
required: false
target-branch-name:
description: 'the target branch name of a project created in SRM. SRM automatically creates the branch if it does not exist yet in the project, and the new branch will be created from `base-branch-name`'
required: false
source-and-binaries-glob:
description: 'a file glob matching source and binary files (accepts multiple comma-separated globs). if not set, no source/binary files will be sent to SRM'
required: true
tool-outputs-glob:
description: 'a file glob matching output files (ie scan results) from an analysis tool (accepts multiple comma-separated globs)'
required: false
# additional settings
wait-for-completion:
description: 'whether to wait for the analysis to complete. if true, will fail the build if the analysis encountered an error.'
required: false
default: false
ca-cert:
description: 'a custom CA cert to use for HTTPS requests to SRM'
required: false
dry-run:
description: 'whether to submit an analysis (false/undefined), or only test the connection and credentials (true). an error in validation will fail the build.'
required: false
default: false
runs:
using: 'node20'
main: 'dist/index.js'