-
Notifications
You must be signed in to change notification settings - Fork 180
/
action.yml
49 lines (45 loc) · 1.31 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
name: 'CloudFormation Guard GitHub Action'
description: 'Validate templates using CloudFormation Guard'
author: 'Amazon Web Services'
branding:
icon: 'shield'
color: 'orange'
inputs:
rules:
description: 'Guard rules path relative to the root of the repository.'
required: true
default: '.'
data:
description: 'Template data path relative to the root of the repository.'
required: true
default: '.'
token:
description: 'GitHub token for API calls.'
required: false
default: ${{ github.token }}
checkout:
description: 'Checkout the repository if not using a composite action where cfn-guard follows actions/checkout.'
required: false
default: 'true'
analyze:
description: 'Upload the SARIF report to GitHubs code scanning dashboard.'
required: false
default: 'false'
create-review:
description: 'Create a pull request review with comments during pull request checks.'
required: false
default: 'true'
debug:
description: 'Turn on logs for debugging'
required: false
default: 'false'
path:
description: 'Path if not using checkout and repo is cloned to a subdirectory'
required: false
default: ''
outputs:
report:
description: 'Stringified report from cfn-guard'
runs:
using: node20
main: ./action/dist/index.js