Skip to content

Commit 8143e78

Browse files
authored
Update infra version, add secrets.inherit to ci-comment job (#31)
1 parent 31b0fae commit 8143e78

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
cd:
1212
name: CD
13-
uses: access-nri/build-cd/.github/workflows/cd.yml@v2
13+
uses: access-nri/build-cd/.github/workflows/cd.yml@v3
1414
with:
1515
model: ${{ vars.NAME }}
1616
permissions:

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- closed
99
branches:
1010
- main
11+
- dev
1112
- backport/*.*
1213
paths:
1314
- config/**
@@ -24,7 +25,7 @@ jobs:
2425
if: >-
2526
(github.event_name == 'pull_request' && github.event.action != 'closed') ||
2627
(github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!redeploy'))
27-
uses: access-nri/build-cd/.github/workflows/ci.yml@v2
28+
uses: access-nri/build-cd/.github/workflows/ci.yml@v3
2829
with:
2930
model: ${{ vars.NAME }}
3031
pr: ${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.event.issue.number }}
@@ -39,20 +40,20 @@ jobs:
3940
# This job is responsible for handling Command Comments like
4041
# `!bump` during an open PR
4142
if: github.event_name == 'issue_comment'
42-
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@v2
43+
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@v3
4344
with:
4445
model: ${{ vars.NAME }}
4546
permissions:
4647
pull-requests: write
4748
contents: write
48-
49+
secrets: inherit
4950

5051
pr-closed:
5152
name: Closed
5253
# This job is responsible for cleaning up the Prereleases after a
5354
# PR is closed
5455
if: github.event_name == 'pull_request' && github.event.action == 'closed'
55-
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@v2
56+
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@v3
5657
with:
5758
model: ${{ vars.NAME }}
5859
secrets: inherit # inherit GitHub Deployment environment secrets

0 commit comments

Comments
 (0)