From f967f121cf71bb97ba8cb4bb45c8a45801d2bf89 Mon Sep 17 00:00:00 2001 From: Maximilian Schulz Date: Mon, 28 Oct 2024 18:37:38 +0100 Subject: [PATCH] Print PR number --- .github/workflows/pycafe-dashboards.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pycafe-dashboards.yml b/.github/workflows/pycafe-dashboards.yml index b4df972a0..bb7449b5a 100644 --- a/.github/workflows/pycafe-dashboards.yml +++ b/.github/workflows/pycafe-dashboards.yml @@ -25,7 +25,7 @@ jobs: run: pip install hatch - name: Print PR Number run: | - echo "Pull Request Number: ${{ github.event.workflow_run.pull_requests }}" + echo "Pull Request Number: ${{ github.event.workflow_run.pull_requests[0].number }}" - name: Create PyCafe links run: | PR_NUMBER=${{ github.event.workflow_run.pull_requests[0].number || '' }}