From 4ca789b8fe410aa6e9442b01f73e56e5c1bc79f0 Mon Sep 17 00:00:00 2001 From: Jaymala Date: Fri, 31 Mar 2023 13:21:08 +0000 Subject: [PATCH] backport of commit 550277dd9aa1abc1da57c83c6090ed13b292f442 --- .github/workflows/enos-release-testing-oss.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/enos-release-testing-oss.yml b/.github/workflows/enos-release-testing-oss.yml index f62089d994f1..ee42dd046c74 100644 --- a/.github/workflows/enos-release-testing-oss.yml +++ b/.github/workflows/enos-release-testing-oss.yml @@ -1,4 +1,4 @@ -name: enos-release-testing-oss +name: enos-release-testing-oss-${{ github.event.client_payload.payload.sha }} on: repository_dispatch: @@ -59,3 +59,18 @@ jobs: steps: - name: Persist metadata uses: hashicorp/actions-persist-metadata@v1 + + # Get the workflow summary similar to CRT workflows + release-artifact-info: + runs-on: linux + if: ${{ startsWith(github.event.action, 'enos-release-testing-oss') }} + continue-on-error: true + steps: + - name: Release Artifact Info + run: | + # shellcheck disable=SC2129 + echo "__Product:__ ${{ github.event.client_payload.payload.product }}" >> "$GITHUB_STEP_SUMMARY" + echo "__Version:__ ${{ github.event.client_payload.payload.version }}" >> "$GITHUB_STEP_SUMMARY" + echo "__Commit:__ ${{ github.event.client_payload.payload.sha }}" >> "$GITHUB_STEP_SUMMARY" + echo "" >> "$GITHUB_STEP_SUMMARY" + echo "[Build Workflow](https://github.com/${{github.event.client_payload.payload.org}}/${{github.event.client_payload.payload.repo}}/actions/runs/${{github.event.client_payload.payload.buildworkflowid}})" >> "$GITHUB_STEP_SUMMARY"