forked from binary-com/fe-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
60 lines (58 loc) · 2.3 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
50
51
52
53
54
55
56
57
58
59
60
name: 'fe-release-automation'
description: 'Initiates the release workflow for Deriv.app codebase'
github-token:
action-input:
input: GITHUB_TOKEN
is_default: true
permissions:
pull-requests: write
pull-requests-reason: to merge and update PR
inputs:
CLICKUP_API_TOKEN:
description: 'The Clickup API token (e.g. secrets.CLICKUP_API_TOKEN).'
required: true
GITHUB_TOKEN:
description: 'The GitHub access token (e.g. secrets.GITHUB_TOKEN) with write access. This defaults to {{ github.token }}.'
default: '${{ github.token }}'
required: false
SLACK_APP_TOKEN:
description: 'The Slack app token (e.g. secrets.SLACK_APP_TOKEN)'
required: true
SLACK_BOT_TOKEN:
description: 'The Slack bot token (e.g. secrets.SLACK_BOT_TOKEN).'
required: true
SLACK_USER_TOKEN:
description: 'The Slack user token (e.g. secrets.SLACK_USER_TOKEN).'
required: true
CIRCLECI_TOKEN:
description: 'The CircleCI token (e.g. secrets.CIRCLECI_TOKEN).'
required: true
release_tag_task_url:
description: 'The URL for the release tag task (e.g. https://app.clickup.com/t/20696747/WEBREL-587)'
required: true
circleci_project_slug:
description: 'The CircleCI project repository to check for, defaults to gh/binary-com/deriv-app'
default: 'gh/binary-com/deriv-app'
required: false
circleci_workflow_name:
description: 'The release staging workflow name to check in CircleCI, defaults to release_staging'
default: 'release_staging'
required: false
platform:
description: 'The platform to release, e.g. Deriv.app, Deriv.com, deriv-charts, DSmartTrader, Product API'
required: false
default: 'Deriv.app'
skip_pending_checks:
description: 'Specify whether the automation should skip waiting for pull request checks to finish'
required: false
default: false
skip_circleci_checks:
description: 'Specify whether the automation should wait and check for CirleCI staging workflow'
required: false
default: false
config_path:
description: 'Path to an automationrc.json config file'
required: false
runs:
using: 'node16'
main: 'bundle/index.js'