File tree 2 files changed +7
-5
lines changed
2 files changed +7
-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@v3
13
+ uses : access-nri/build-cd/.github/workflows/cd.yml@v4
14
14
with :
15
15
model : ${{ vars.NAME }}
16
16
permissions :
17
17
contents : write
18
+ # Requires pull_requests:write because later workflows also handle on.pull_request trigger
19
+ pull-requests : write
18
20
secrets : inherit
Original file line number Diff line number Diff line change 24
24
if : >-
25
25
(github.event_name == 'pull_request' && github.event.action != 'closed') ||
26
26
(github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!redeploy'))
27
- uses : access-nri/build-cd/.github/workflows/ci.yml@v3
27
+ uses : access-nri/build-cd/.github/workflows/ci.yml@v4
28
28
with :
29
29
model : ${{ vars.NAME }}
30
30
# root-sbd: if different from vars.NAME
37
37
pr-comment :
38
38
name : Comment
39
39
if : github.event_name == 'issue_comment'
40
- uses : access-nri/build-cd/.github/workflows/ci-comment.yml@v3
40
+ uses : access-nri/build-cd/.github/workflows/ci-comment.yml@v4
41
41
with :
42
42
model : ${{ vars.NAME }}
43
43
# root-sbd: if different from vars.NAME
49
49
pr-closed :
50
50
name : Closed
51
51
if : github.event_name == 'pull_request' && github.event.action == 'closed'
52
- uses : access-nri/build-cd/.github/workflows/ci-closed.yml@v3
52
+ uses : access-nri/build-cd/.github/workflows/ci-closed.yml@v4
53
53
with :
54
- model : ${{ vars.NAME }}
54
+ root-sbd : ${{ vars.NAME }}
55
55
secrets : inherit
You can’t perform that action at this time.
0 commit comments