From a3c0d04c71bc8a341a3fd3e16b90cc06b472c9ad Mon Sep 17 00:00:00 2001 From: Raymond Kim <109366641+tt-rkim@users.noreply.github.com> Date: Sat, 15 Jun 2024 16:55:00 -0400 Subject: [PATCH] #9319: Add step to output info of completed workflow run that triggered this produce data event (#9465) --- .github/workflows/_produce-data.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/_produce-data.yaml b/.github/workflows/_produce-data.yaml index b454328786a..7239e029cd7 100644 --- a/.github/workflows/_produce-data.yaml +++ b/.github/workflows/_produce-data.yaml @@ -35,3 +35,10 @@ jobs: gh api /repos/tenstorrent/tt-metal/actions/runs/${{ github.run_id }} echo "[Info] Workflow run attempt" gh api /repos/tenstorrent/tt-metal/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }} + - name: Output auxiliary values (workflow_run completed) + if: ${{ github.event_name == 'workflow_run' }} + env: + GH_TOKEN: ${{ github.token }} + run: | + echo "[Info] Triggering Workflow run" + gh api /repos/tenstorrent/tt-metal/actions/runs/${{ github.event.workflow_run.id }}/attempts/${{ github.event.workflow_run.run_attempt }}