-
Notifications
You must be signed in to change notification settings - Fork 64
/
action.yml
44 lines (43 loc) · 1.26 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 tfsec PR commenter"
description: "Runs tfsec and adds comments to the PR where checks have failed"
author: "Owen Rumney"
inputs:
github_token:
description: "GITHUB_TOKEN"
required: true
working_directory:
required: false
description: |
Directory to run the action on, from the repo root.
Default is . (root of the repository)
default: "."
tfsec_version:
required: false
description: The version of tfsec to use, defaults to latest
default: latest
tfsec_args:
required: false
description: |
Space-separated args specified here will be added during tfsec execution.
(e.g. --force-all-dirs --verbose)
tfsec_formats:
required: false
description: |
Comma-separated formats specified here will be output in addition to json.
(e.g. sarif,csv)
commenter_version:
required: false
description: The version of the PR commenter code to run, defaults to latest
default: latest
soft_fail_commenter:
required: false
description: If set to `true` will silently comment without breaking the build
outputs:
tfsec-return-code:
description: "tfsec command return code"
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "git-pull-request"
color: "purple"