Skip to content

Commit 080a1f0

Browse files
authored
Merge pull request #4 from ACCESS-NRI/infra-update-v4
Deployment Infrastructure V4: Multi-HPC Deployments
2 parents 6077433 + ece1114 commit 080a1f0

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,9 +10,11 @@ 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
permissions:
1717
contents: write
18+
# Requires pull_requests:write because later workflows also handle on.pull_request trigger
19+
pull-requests: write
1820
secrets: inherit

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
if: >-
2525
(github.event_name == 'pull_request' && github.event.action != 'closed') ||
2626
(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
2828
with:
2929
model: ${{ vars.NAME }}
3030
# root-sbd: if different from vars.NAME
@@ -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: if different from vars.NAME
@@ -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: ${{ vars.NAME }}
5555
secrets: inherit

0 commit comments

Comments
 (0)