From 8a05fd869b009e616ffe5f235d288acaa1b31464 Mon Sep 17 00:00:00 2001 From: m-goggins Date: Thu, 20 Jun 2024 13:58:22 -0700 Subject: [PATCH] update release workflow to run each container workflow --- .github/workflows/createNewRelease.yaml | 3 ++- .github/workflows/run-container-workflow.yaml | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/createNewRelease.yaml b/.github/workflows/createNewRelease.yaml index fdb9e03614..1e9ca6819b 100644 --- a/.github/workflows/createNewRelease.yaml +++ b/.github/workflows/createNewRelease.yaml @@ -42,7 +42,8 @@ jobs: uses: actions/checkout@v2 - name: Run container workflow - uses: ./.github/workflows/container-${{ matrix.container }}.yaml + uses: ./.github/actions/run-container-workflow + workflow: ${{ matrix.container }} tag-release: name: Update phdi init version number diff --git a/.github/workflows/run-container-workflow.yaml b/.github/workflows/run-container-workflow.yaml index 4c566d0db0..8d3cd8aebf 100644 --- a/.github/workflows/run-container-workflow.yaml +++ b/.github/workflows/run-container-workflow.yaml @@ -13,5 +13,7 @@ runs: uses: actions/checkout@v2 - name: Run specified workflow + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh workflow run ${{ inputs.workflow }} + gh workflow run .github/workflows/container-${{ inputs.workflow }}.yaml