File tree 2 files changed +10
-5
lines changed
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 10
10
jobs :
11
11
cd :
12
12
name : CD
13
- uses : access-nri/build-cd/.github/workflows/cd.yml@main
13
+ uses : access-nri/build-cd/.github/workflows/cd.yml@v3
14
14
with :
15
15
model : ${{ vars.NAME }}
16
16
permissions :
Original file line number Diff line number Diff line change 9
9
- closed
10
10
branches :
11
11
- main
12
+ - dev
12
13
- backport/*.*
13
14
paths :
14
15
- config/**
20
21
jobs :
21
22
pr-ci :
22
23
name : CI
23
- if : github.event_name == 'pull_request' && github.event.action != 'closed'
24
- uses : access-nri/build-cd/.github/workflows/ci.yml@main
24
+ if : >-
25
+ (github.event_name == 'pull_request' && github.event.action != 'closed') ||
26
+ (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!redeploy'))
27
+ uses : access-nri/build-cd/.github/workflows/ci.yml@v3
25
28
with :
26
29
model : ${{ vars.NAME }}
27
30
# root-sbd: if different from vars.NAME
28
31
permissions :
29
32
pull-requests : write
30
33
contents : write
34
+ statuses : write
31
35
secrets : inherit
32
36
33
37
pr-comment :
34
38
name : Comment
35
39
if : github.event_name == 'issue_comment'
36
- uses : access-nri/build-cd/.github/workflows/ci-comment.yml@main
40
+ uses : access-nri/build-cd/.github/workflows/ci-comment.yml@v3
37
41
with :
38
42
model : ${{ vars.NAME }}
39
43
# root-sbd: if different from vars.NAME
40
44
permissions :
41
45
pull-requests : write
42
46
contents : write
47
+ secrets : inherit
43
48
44
49
pr-closed :
45
50
name : Closed
46
51
if : github.event_name == 'pull_request' && github.event.action == 'closed'
47
- uses : access-nri/build-cd/.github/workflows/ci-closed.yml@main
52
+ uses : access-nri/build-cd/.github/workflows/ci-closed.yml@v3
48
53
with :
49
54
model : ${{ vars.NAME }}
50
55
secrets : inherit
You can’t perform that action at this time.
0 commit comments