From a6282508b4d91b2658b504b4c1a0f9a178be3006 Mon Sep 17 00:00:00 2001 From: Alexandre Plateau Date: Mon, 29 Jul 2024 09:02:38 +0200 Subject: [PATCH] fix(ci): adding debug logging about PR informations --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 620d99608..8e0ebe68f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -244,6 +244,19 @@ jobs: - uses: 8BitJonny/gh-get-current-pr@3.0.0 id: PR + with: + sha: ${{ github.event.pull_request.head.sha }} + # Only return if PR is still open + filterOutClosed: true + + - run: | + echo "PR found: ${prFound}" + echo "PR ${prNumber:-ERROR} ${prTitle:-NOTITLE}" + env: + # Direct access to common PR properties + prNumber: ${{ steps.PR.outputs.number }} + prTitle: ${{ steps.PR.outputs.pr_title }} + prFound: ${{ steps.PR.outputs.pr_found }} - name: Summarize for PR id: summary