Skip to content

Building AI agents, atomically

Update python-publish.yml

Kenny Vaneetvelde53e2f28a6056
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml
index 7d37651..470bd7d 100644
--- a/.github/workflows/python-publish.yml
+++ b/.github/workflows/python-publish.yml
@@ -52,12 +52,11 @@ jobs:
labels: automerge
- name: Enable Auto-Merge
- uses: actions-ecosystem/action-merge-pull-requests@v1
+ uses: peter-evans/enable-pull-request-automerge@v2
with:
- github-token: ${{ secrets.GITHUB_TOKEN }}
+ token: ${{ secrets.GITHUB_TOKEN }}
+ pull-request-number: ${{ steps.create-pull-request.outputs.pull-request-number }}
merge-method: squash
- merge-labels: automerge
- delete-branch: true
- name: Build package
if: github.event.pull_request.merged == true