Skip to content

Commit

Permalink
ci: 🎡 set upstream when creating local PR branch
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid committed Jan 27, 2024
1 parent 12867df commit 615420b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ jobs:
id-token: write
pull-requests: write
contents: write
env:
RELEASE_PR_BRANCH: create-pull-request/patch
steps:
- name: Checkout python-hyperscan
uses: actions/checkout@v4
Expand Down Expand Up @@ -254,7 +256,8 @@ jobs:
if: steps.release.outputs.released == 'true'
run: |
# use the same default branch name that create-pull-request uses
git checkout -b create-pull-request/patch
git checkout -b ${RELEASE_PR_BRANCH}
git branch --set-upstream-to=${RELEASE_PR_BRANCH}
- name: Semantic release
uses: python-semantic-release/[email protected]
Expand Down

0 comments on commit 615420b

Please sign in to comment.