From bdd130d95cee02b6b3cd1507240630a44bbfbd2b Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Kandula Date: Fri, 5 Apr 2024 12:09:02 +0530 Subject: [PATCH] ci: Show TED tag used in run name and summary (#32445) This is to make it apparent what TED tag was used to run a workflow, so that runs that happened with an unstable (non `latest`) tag of TED aren't taken seriously. --- .github/workflows/test-build-docker-image.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test-build-docker-image.yml b/.github/workflows/test-build-docker-image.yml index f10b03b3f7..047ae63f50 100644 --- a/.github/workflows/test-build-docker-image.yml +++ b/.github/workflows/test-build-docker-image.yml @@ -1,5 +1,8 @@ name: Test, build and push Docker Image +run-name: > + ${{ github.workflow }} with TED:${{ inputs.ted_tag }} + on: # This workflow will run everyday at 7:00AM, 1:00PM IST on weekdays schedule: @@ -34,6 +37,12 @@ jobs: tags: ${{ steps.setup.outputs.tags }} matrix: ${{ steps.setup.outputs.matrix }} steps: + - name: "Post inputs to run summary" + env: + INPUTS: "${{ toJSON(inputs) }}" + run: | + echo $'## Inputs\n```\n'"$INPUTS"$'\n```' > "$GITHUB_STEP_SUMMARY" + - name: Set tags and matrix runner id: setup run: |