Skip to content

Commit d907f33

Browse files
authored
Update infra version, add secrets.inherit to ci-comment job (#92)
1 parent 295098e commit d907f33

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Diff for: .github/workflows/cd.yml

+1-1
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:

Diff for: .github/workflows/ci.yml

+5-3
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/**
@@ -22,7 +23,7 @@ jobs:
2223
if: >-
2324
(github.event_name == 'pull_request' && github.event.action != 'closed') ||
2425
(github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!redeploy'))
25-
uses: access-nri/build-cd/.github/workflows/ci.yml@v2
26+
uses: access-nri/build-cd/.github/workflows/ci.yml@v3
2627
with:
2728
model: ${{ vars.NAME }}
2829
pr: ${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.event.issue.number }}
@@ -35,17 +36,18 @@ jobs:
3536
pr-comment:
3637
name: Comment
3738
if: github.event_name == 'issue_comment'
38-
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@v2
39+
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@v3
3940
with:
4041
model: ${{ vars.NAME }}
4142
permissions:
4243
pull-requests: write
4344
contents: write
45+
secrets: inherit
4446

4547
pr-closed:
4648
name: Closed
4749
if: github.event_name == 'pull_request' && github.event.action == 'closed'
48-
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@v2
50+
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@v3
4951
with:
5052
model: ${{ vars.NAME }}
5153
secrets: inherit

0 commit comments

Comments
 (0)