From 89ff3209abfb83aaf22895760d3e0f4b08115e1e Mon Sep 17 00:00:00 2001 From: Martin-Belton-gov Date: Tue, 5 Dec 2023 15:52:56 +0000 Subject: [PATCH] Persist branch name --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 35b83a5..92e99ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -177,12 +177,14 @@ jobs: git add ${{ github.workspace }}/releases/${{ steps.metadata.outputs.archive-checksum }} git commit -m "Add plugin zip file - ${version}" git push origin "$branch_name" + env: + BRANCH_NAME: ${{ steps.create-branch.outputs.branch_name }} - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: commit-message: "Add plugin zip file" - branch: "$branch_name" + branch: "${{ env.BRANCH_NAME }}" base: main - name: Create Github release