File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- master
7
+ - release
7
8
pull_request :
8
9
workflow_dispatch :
9
10
Original file line number Diff line number Diff line change 1
- name : " CodeQL"
1
+ name : CodeQL
2
2
3
3
on :
4
4
push :
5
- branches : [master, ]
5
+ branches :
6
+ - master
7
+ - release
6
8
pull_request :
7
9
# The branches below must be a subset of the branches above
8
10
branches : [master]
Original file line number Diff line number Diff line change 1
1
name : release
2
2
3
3
on :
4
- push :
5
- tags :
6
- - v*
4
+ workflow_run :
5
+ workflows : ["build"]
6
+ branches : ["release"]
7
+ types : ["completed"]
7
8
8
9
jobs :
9
10
release :
10
- needs : build
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def main():
62
62
if source_ips :
63
63
source_ips = source_ips .split ("," )
64
64
cookies_file = os .getenv ("COOKIES_FILE" , "" )
65
- workers = os .getenv ("WORKERS" , 4 )
65
+ workers = int ( os .getenv ("WORKERS" , 4 ) )
66
66
67
67
scdlbot = ScdlBot (
68
68
tg_bot_token ,
You can’t perform that action at this time.
0 commit comments