Skip to content

Commit

Permalink
Persist branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelton-gov committed Dec 5, 2023
1 parent fc0b6a8 commit 89ff320
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89ff320

Please sign in to comment.