-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
42 lines (40 loc) · 1.19 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
name: 'Deployment Approval'
description: 'Handles deployment approvals via Slack'
author: '[email protected]'
inputs:
SLACK_CHANNEL:
description: 'The Slack channel to send the deployment approval message.'
required: true
SLACK_TOKEN:
description: 'The Slack token for authentication.'
required: true
DYNAMODB_TABLE:
description: 'The DynamoDB table name for storing deployment approval information.'
required: true
AWS_REGION:
description: 'The AWS region where the DynamoDB table is located.'
required: true
AWS_ACCESS_KEY:
description: 'The AWS region where the DynamoDB table is located.'
required: true
AWS_SECRET_KEY:
description: 'The AWS region where the DynamoDB table is located.'
required: true
REDIS_HOST:
description: 'The URL of the SQS queue to process approval requests'
required: true
SERVICE:
description: 'The service being deployed.'
required: true
ENVIRONMENT:
description: 'The environment for the deployment.'
required: true
outputs:
approval-status:
description: 'The status of the deployment approval.'
runs:
using: 'node20'
main: 'index.js'
branding:
icon: 'check-circle'
color: 'blue'