-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
46 lines (46 loc) · 1.35 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
37
38
39
40
41
42
43
44
45
46
name: "StackSpot Workflow Report Status"
description: 'StackSpot Workflow Report Status'
author: "StackSpot"
branding:
icon: "truck"
color: "purple"
inputs:
execution-id:
description: "Execution ID"
required: true
client-id:
description: "Client ID StackSpot"
required: true
client-secret:
description: "Client Secret StackSpot"
required: true
realm:
description: "Realm StackSpot"
required: true
name:
description: "Name of workflow step of status report"
required: true
status:
description: "Status of execution"
required: true
conclusion:
description: "Conclusion of execution"
required: false
log:
description: "Step log"
required: false
default: ""
idm-base-url:
description: "StackSpot IDM base url"
required: false
default: "https://idm.stackspot.com"
workflow-api-base-url:
description: "Workflow API base url"
required: false
default: "https://workflow-api.v1.stackspot.com"
runs:
using: "composite"
steps:
- shell: bash
run:
${{ github.action_path }}/entrypoint.sh "${{ inputs.execution-id }}" "${{ inputs.client-id }}" "${{ inputs.client-secret }}" "${{ inputs.realm }}" "${{ inputs.name }}" "${{ inputs.status }}" "${{ inputs.conclusion }}" "${{ inputs.log }}" "${{ inputs.idm-base-url }}" "${{ inputs.workflow-api-base-url }}"