Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 629dbe9

Browse files
authored
feat: add tools (#1)
1 parent 05d33d9 commit 629dbe9

42 files changed

Lines changed: 105650 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
.pnpm-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30+
.grunt
31+
32+
# Bower dependency directory (https://bower.io/)
33+
bower_components
34+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
42+
jspm_packages/
43+
44+
# Snowpack dependency directory (https://snowpack.dev/)
45+
web_modules/
46+
47+
# TypeScript cache
48+
*.tsbuildinfo
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Optional stylelint cache
57+
.stylelintcache
58+
59+
# Microbundle cache
60+
.rpt2_cache/
61+
.rts2_cache_cjs/
62+
.rts2_cache_es/
63+
.rts2_cache_umd/
64+
65+
# Optional REPL history
66+
.node_repl_history
67+
68+
# Output of 'npm pack'
69+
*.tgz
70+
71+
# Yarn Integrity file
72+
.yarn-integrity
73+
74+
# dotenv environment variable files
75+
.env
76+
.env.development.local
77+
.env.test.local
78+
.env.production.local
79+
.env.local
80+
81+
# parcel-bundler cache (https://parceljs.org/)
82+
.cache
83+
.parcel-cache
84+
85+
# Next.js build output
86+
.next
87+
out
88+
89+
# Nuxt.js build / generate output
90+
.nuxt
91+
92+
# Gatsby files
93+
.cache/
94+
# Comment in the public line in if your project uses Gatsby and not Next.js
95+
# https://nextjs.org/blog/next-9-1#public-directory-support
96+
# public
97+
98+
# vuepress build output
99+
.vuepress/dist
100+
101+
# vuepress v2.x temp and cache directory
102+
.temp
103+
.cache
104+
105+
# Docusaurus cache and generated files
106+
.docusaurus
107+
108+
# Serverless directories
109+
.serverless/
110+
111+
# FuseBox cache
112+
.fusebox/
113+
114+
# DynamoDB Local files
115+
.dynamodb/
116+
117+
# TernJS port file
118+
.tern-port
119+
120+
# Stores VSCode versions used for testing VSCode extensions
121+
.vscode-test
122+
123+
# yarn v2
124+
.yarn/cache
125+
.yarn/unplugged
126+
.yarn/build-state.yml
127+
.yarn/install-state.gz
128+
.pnp.*
129+
130+
# Mac files
131+
.DS_Store
132+
133+
# Environment variables
134+
*.env
135+
*.secret
136+
*.secrets
137+
138+
node_modules
139+
dist

action.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: 'fe-release-automation'
2+
description: 'Initiates the release workflow for Deriv.app codebase'
3+
github-token:
4+
action-input:
5+
input: GITHUB_TOKEN
6+
is_default: true
7+
8+
permissions:
9+
pull-requests: write
10+
pull-requests-reason: to merge and update PR
11+
inputs:
12+
CLICKUP_API_TOKEN:
13+
description: 'The Clickup API token (e.g. secrets.CLICKUP_API_TOKEN).'
14+
required: true
15+
GITHUB_TOKEN:
16+
description: 'The GitHub access token (e.g. secrets.GITHUB_TOKEN) with write access. This defaults to {{ github.token }}.'
17+
default: '${{ github.token }}'
18+
required: false
19+
SLACK_APP_TOKEN:
20+
description: 'The Slack app token (e.g. secrets.SLACK_APP_TOKEN)'
21+
required: true
22+
SLACK_BOT_TOKEN:
23+
description: 'The Slack bot token (e.g. secrets.SLACK_BOT_TOKEN).'
24+
required: true
25+
SLACK_USER_TOKEN:
26+
description: 'The Slack user token (e.g. secrets.SLACK_USER_TOKEN).'
27+
required: true
28+
CIRCLECI_TOKEN:
29+
description: 'The CircleCI token (e.g. secrets.CIRCLECI_TOKEN).'
30+
required: true
31+
tag:
32+
description: 'The tag for this release workflow (e.g. V20230505_0)'
33+
required: true
34+
list_id:
35+
description: 'The Clickup list ID of the FE Release space (e.g. https://app.clickup.com/{space_id}/v/b/li/{list_id})'
36+
required: true
37+
release_tags_list_id:
38+
description: 'The Clickup release tags list ID of the FE Release space (e.g. https://app.clickup.com/{space_id}/v/b/li/{list_id})'
39+
required: true
40+
regression_testing_template_id:
41+
description: 'The Clickup regression testing card ID of the FE Release space'
42+
required: true
43+
platform:
44+
description: 'The platform to release, e.g. Deriv.app, Deriv.com, SmartCharts, DSmartTrader, Product API'
45+
required: false
46+
default: 'Deriv.app'
47+
skip_pending_checks:
48+
description: 'Specify whether the automation should skip waiting for pull request checks to finish'
49+
required: false
50+
default: false
51+
skip_circleci_checks:
52+
description: 'Specify whether the automation should wait and check for CirleCI staging workflow'
53+
required: false
54+
default: false
55+
56+
runs:
57+
using: 'node16'
58+
main: 'bundle/index.js'

0 commit comments

Comments
 (0)