File tree Expand file tree Collapse file tree 8 files changed +270
-211
lines changed Expand file tree Collapse file tree 8 files changed +270
-211
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
- .env
2
+ config.yml
Original file line number Diff line number Diff line change 1
1
node_modules
2
- .env
2
+ config.yml
3
3
.idea
4
4
.DS_Store
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ $ git clone https://github.com/codex-team/workflow
10
10
11
11
## Set Environment Variables
12
12
13
- Rename ` .env .example` to ` .env ` and set require env for application.
13
+ Rename ` config.yml .example` to ` config.yml ` and set required parameters for application.
14
14
Then run with following command.
15
15
16
16
## Run
Original file line number Diff line number Diff line change 1
1
# Github Personal Access Token (https://github.com/settings/tokens) with rights:
2
2
# - "repo - public_repo"
3
3
# - "admin:org - read:org"
4
- TOKEN =
4
+ token :
5
5
6
6
# HAWK Catcher TOKEN
7
- HAWK_TOKEN =
7
+ hawk_token :
8
8
9
9
# Columns Nodes id
10
10
# To get these values use any app for sending requests (Insomnia for example) and send the following request
@@ -34,21 +34,29 @@ HAWK_TOKEN=
34
34
# }
35
35
# }
36
36
# }
37
- COLUMN_NODE_ID_TO_DO =
38
- COLUMN_NODE_ID_PR =
37
+ column_node_id_to_do :
38
+ column_node_id_pr :
39
39
40
40
# @codex_bot notify URL
41
41
# Open https://t.me/codex_bot
42
42
# And run /notify command
43
- NOTIFIER_URL =
43
+ notifier_url :
44
44
45
- # List of people to tag in the «Pull Requests» message
46
- MENTION = " ilyamore88 GeekaN2 robonetphy neSpecc nikmel2803 n0str talyguryn gohabereg khaydarov f0m41h4u7 dependabot"
45
+ # Define jobs
46
+ # Example: 0 9,18 * * 1-5
47
+ # At minute 0 past hour 9 and 18 on every day-of-week from Monday through Friday.
48
+ to_do_time : 0 9,18 * * 1-5
49
+ pr_time : 0 9,18 * * 1-5
50
+ meeting_time : 0 9,18 * * 1-5
47
51
48
- # List of people to tag in the «Meeting Message» message
49
- MEETING_MENTION = " specc guryn khaydarovm nikmel2803 gohabereg ilyamore88 GeekaN augustovich n0str f0m41h4u7 robonetphy"
52
+ # List of people (Telegram only) to tag in the «Meeting Message» message
53
+ meeting_mention :
54
+ - nvc_8996
55
+ # - n0str
50
56
51
- # Define job
52
- TO_DO_TIME = " 0 9,20 * * 1-5"
53
- PR_TIME = " 0 9,20 * * 1-5"
54
- MEETING_TIME = " 0 21 * * 1-5"
57
+ # List of people to tag in the «Pull Requests» message
58
+ # Separated Github and Telegram usernames if they differ.
59
+ mention :
60
+ # - n0str
61
+ - tg : nvc_8996
62
+ gh : nvc8996
Original file line number Diff line number Diff line change 15
15
"@octokit/core" : " ^3.1.2" ,
16
16
"axios" : " ^0.19.2" ,
17
17
"cron" : " ^1.8.2" ,
18
- "dotenv" : " ^8.2.0" ,
19
18
"parse-github-url" : " ^1.0.2"
20
19
},
21
20
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments