-
Notifications
You must be signed in to change notification settings - Fork 5
/
action.yaml
36 lines (33 loc) · 1.02 KB
/
action.yaml
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
name: 'PipeCD Plan Preview'
description: 'Comment PipeCD PlanPreview result on GitHub pull request'
author: 'PipeCD team'
inputs:
address:
description: 'The address of PipeCD control-plane.'
required: true
api-key:
description: 'The API key with READ_WRITE role used by pipectl while communicating with PipeCD control-plane.'
required: true
token:
description: 'The GITHUB_TOKEN secret used to send comment on pull request.'
required: true
timeout:
description: 'Maximum amount of time to run. Default is 5m.'
required: false
default: 5m
piped-handle-timeout:
description: 'Maximum amount of time to wait for piped handle the plan preview. Default is 5m.'
required: false
default: 5m
runs:
using: 'docker'
image: 'Dockerfile'
args:
- address=${{ inputs.address }}
- api-key=${{ inputs.api-key }}
- token=${{ inputs.token }}
- timeout=${{ inputs.timeout }}
- piped-handle-timeout=${{ inputs.piped-handle-timeout }}
branding:
icon: 'eye'
color: 'green'