Skip to content

Commit

Permalink
Updated ci.yml to use ACCESS-NRI/build-cd#176
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed Nov 25, 2024
1 parent 4061242 commit c96fc5a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ jobs:
pr-ci:
name: CI
if: github.event_name == 'pull_request' && github.event.action != 'closed'
uses: access-nri/build-cd/.github/workflows/ci.yml@main
uses: access-nri/build-cd/.github/workflows/ci.yml@173-redeploy-comment-command
with:
model: ${{ vars.NAME }}
# root-sbd: if different from vars.NAME
pr: ${{ github.head_ref }}
permissions:
pull-requests: write
contents: write
Expand All @@ -33,18 +34,20 @@ jobs:
pr-comment:
name: Comment
if: github.event_name == 'issue_comment'
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@main
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@173-redeploy-comment-command
with:
model: ${{ vars.NAME }}
# root-sbd: if different from vars.NAME
pr: ${{ github.event.issue.number }}
permissions:
pull-requests: write
contents: write

pr-closed:
name: Closed
if: github.event_name == 'pull_request' && github.event.action == 'closed'
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@main
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@173-redeploy-comment-command
with:
model: ${{ vars.NAME }}
pr: ${{ github.head_ref }}
secrets: inherit

0 comments on commit c96fc5a

Please sign in to comment.