diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f1ec1fd..14e8c85 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -10,7 +10,7 @@ on: jobs: cd: name: CD - uses: access-nri/build-cd/.github/workflows/cd.yml@v2 + uses: access-nri/build-cd/.github/workflows/cd.yml@v3 with: model: ${{ vars.NAME }} permissions: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb33669..b1798a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,7 @@ on: - closed branches: - main + - dev - backport/*.* paths: - config/** @@ -21,9 +22,8 @@ jobs: pr-ci: name: CI if: >- - (github.event_name == 'pull_request' && github.event.action != 'closed') || - (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!redeploy')) - uses: access-nri/build-cd/.github/workflows/ci.yml@v2 + (github.event_name == 'pull_request' && github.event.action != 'closed') || (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!redeploy')) + uses: access-nri/build-cd/.github/workflows/ci.yml@v3 with: model: ${{ vars.NAME }} # root-sbd: if different from vars.NAME @@ -33,11 +33,10 @@ jobs: contents: write statuses: write secrets: inherit - pr-comment: name: Comment if: github.event_name == 'issue_comment' - uses: access-nri/build-cd/.github/workflows/ci-comment.yml@109-bump-major-comment-fix + uses: access-nri/build-cd/.github/workflows/ci-comment.yml@v3 with: model: ${{ vars.NAME }} # root-sbd: if different from vars.NAME @@ -45,11 +44,12 @@ jobs: pull-requests: write contents: write secrets: inherit - pr-closed: name: Closed if: github.event_name == 'pull_request' && github.event.action == 'closed' - uses: access-nri/build-cd/.github/workflows/ci-closed.yml@v2 + uses: access-nri/build-cd/.github/workflows/ci-closed.yml@v3 with: model: ${{ vars.NAME }} secrets: inherit + ci-comment: + secrets: inherit