Skip to content

Commit f7e8e98

Browse files
committed
Update infra version, add secrets.inherit to ci-comment job
1 parent 4bd9362 commit f7e8e98

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
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@main
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: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- closed
1010
branches:
1111
- main
12+
- dev
1213
- backport/*.*
1314
paths:
1415
- config/**
@@ -21,30 +22,32 @@ jobs:
2122
pr-ci:
2223
name: CI
2324
if: github.event_name == 'pull_request' && github.event.action != 'closed'
24-
uses: access-nri/build-cd/.github/workflows/ci.yml@main
25+
uses: access-nri/build-cd/.github/workflows/ci.yml@v3
2526
with:
2627
model: ${{ vars.NAME }}
2728
# root-sbd: if different from vars.NAME
2829
permissions:
2930
pull-requests: write
3031
contents: write
32+
statuses: write
3133
secrets: inherit
3234

3335
pr-comment:
3436
name: Comment
3537
if: github.event_name == 'issue_comment'
36-
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@main
38+
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@v3
3739
with:
3840
model: ${{ vars.NAME }}
3941
# root-sbd: if different from vars.NAME
4042
permissions:
4143
pull-requests: write
4244
contents: write
45+
secrets: inherit
4346

4447
pr-closed:
4548
name: Closed
4649
if: github.event_name == 'pull_request' && github.event.action == 'closed'
47-
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@main
50+
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@v3
4851
with:
4952
model: ${{ vars.NAME }}
5053
secrets: inherit

0 commit comments

Comments
 (0)