From 3dc3ddca6f14d1594507276e10af82ab171389c7 Mon Sep 17 00:00:00 2001 From: Hendrik Roch Date: Sun, 24 Nov 2024 19:43:42 -0500 Subject: [PATCH] New formatter workflow test --- .github/workflows/code_formatting.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code_formatting.yml b/.github/workflows/code_formatting.yml index 91cad18..194db35 100644 --- a/.github/workflows/code_formatting.yml +++ b/.github/workflows/code_formatting.yml @@ -63,9 +63,11 @@ jobs: auto-approve: true - name: Debug PR number - run: echo "PR number: ${{ steps.create-pull-request.outputs.pull-request-number }}" if: steps.black-check.outcome == 'failure' - + run: | + echo "Pull request URL: ${{ steps.create-pull-request.outputs.pull-request-url }}" + PR_NUMBER=$(echo "${{ steps.create-pull-request.outputs.pull-request-url }}" | awk -F'/' '{print $NF}') + echo "PR number: $PR_NUMBER" - name: Enable auto-merge if: steps.black-check.outcome == 'failure'