Skip to content

Commit d218220

Browse files
authored
Updated infra to v4 (#25)
1 parent efff78f commit d218220

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/cd.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ on:
1010
jobs:
1111
cd:
1212
name: CD
13-
uses: access-nri/build-cd/.github/workflows/cd.yml@v3
13+
uses: access-nri/build-cd/.github/workflows/cd.yml@v4
1414
with:
1515
model: ${{ vars.NAME }}
1616
root-sbd: access-esm1p5
1717
permissions:
1818
contents: write
19+
# Required because later workflows also handle on.pull_request trigger
20+
pull-requests: write
1921
secrets: inherit

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
if: >-
2424
(github.event_name == 'pull_request' && github.event.action != 'closed') ||
2525
(github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!redeploy'))
26-
uses: access-nri/build-cd/.github/workflows/ci.yml@v3
26+
uses: access-nri/build-cd/.github/workflows/ci.yml@v4
2727
with:
2828
model: ${{ vars.NAME }}
2929
root-sbd: access-esm1p5
@@ -37,7 +37,7 @@ jobs:
3737
pr-comment:
3838
name: Comment
3939
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
4141
with:
4242
model: ${{ vars.NAME }}
4343
root-sbd: access-esm1p5
@@ -49,7 +49,7 @@ jobs:
4949
pr-closed:
5050
name: Closed
5151
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
5353
with:
54-
model: ${{ vars.NAME }}
54+
root-sbd: access-esm1p5
5555
secrets: inherit

0 commit comments

Comments
 (0)