From 6fdd4ebccd944e98fe1bc0f9dd40ed34e98ba67e Mon Sep 17 00:00:00 2001 From: Nao <60253860+NaoUnderscore@users.noreply.github.com> Date: Fri, 12 Jul 2024 22:54:54 +0200 Subject: [PATCH] Update pull_request_opened.yml --- .github/workflows/pull_request_opened.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pull_request_opened.yml b/.github/workflows/pull_request_opened.yml index 6f283aefac..a1df427f06 100644 --- a/.github/workflows/pull_request_opened.yml +++ b/.github/workflows/pull_request_opened.yml @@ -38,8 +38,15 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | + run: | + echo "Debug: Fetching PR title and labels" + PR_TITLE=$(echo '${{ steps.get_pr.outputs.data }}' | jq -r '.title') PR_LABELS=$(echo '${{ steps.get_pr.outputs.data }}' | jq -r '.labels | map(.name) | join(",")') + + echo "PR_TITLE: $PR_TITLE" + echo "PR_LABELS: $PR_LABELS" + PREFIX="" if [[ "$PR_LABELS" == *"Documentation"* ]]; then