From eab5f80f3bb9f31e759a7907e52bf661332858c6 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Wed, 6 Nov 2024 09:51:53 +0900 Subject: [PATCH] PR: troubleshooting the PR not being created --- .github/workflows/pr_from_upstream.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_from_upstream.yml b/.github/workflows/pr_from_upstream.yml index 70bf760..118f891 100644 --- a/.github/workflows/pr_from_upstream.yml +++ b/.github/workflows/pr_from_upstream.yml @@ -49,6 +49,8 @@ jobs: run: | echo "Syncing from upstream repository ${{ env.UPSTREAM_REPO }} on branch ${{ env.TARGET_BRANCH }}" + echo "BRANCH_NAME=${BRANCH_NAME}" >> $GITHUB_ENV + # Fetch and delete the branch if it exists locally git fetch origin if git rev-parse --verify "$BRANCH_NAME" >/dev/null 2>&1; then @@ -81,8 +83,6 @@ jobs: exit 0 fi - echo "BRANCH_NAME=${BRANCH_NAME}" >> $GITHUB_ENV - - name: Push changes to new branch if: success() run: |