-
Notifications
You must be signed in to change notification settings - Fork 176
/
action.yml
41 lines (37 loc) · 1.09 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
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'
outputs:
report:
description: 'Stringified report from cfn-guard'
runs:
using: node20
main: ./action/dist/index.js