Skip to content

Commit 4ac970c

Browse files
committed
✏️ add auto-update merge
1 parent 2863dea commit 4ac970c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/python-publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ jobs:
7777
labels: automated
7878
update-branch: true # ensures the PR is updated if it already exists
7979

80+
# Automatically merge the PR if possible
81+
- name: Auto-merge PR
82+
uses: peter-evans/merge-pull-request@v3
83+
with:
84+
token: ${{ secrets.REPO_PUSH_TOKEN }}
85+
pull-request: auto # merges the PR created/updated above
86+
merge-method: squash # options: squash, merge, rebase
87+
8088
- name: Configure Poetry for PyPI
8189
run: |
8290
poetry config pypi-token.pypi ${{ secrets.TWINE_API_TOKEN }}

0 commit comments

Comments
 (0)