Enable auto merge

This commit is contained in:
Gabriel Augendre 2023-01-30 15:08:32 +01:00
parent e0a66ef9af
commit 5186354ba3

View file

@ -28,6 +28,7 @@ jobs:
invoke update-dependencies --no-sync invoke update-dependencies --no-sync
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@v4 uses: peter-evans/create-pull-request@v4
id: create-pull-request
with: with:
token: ${{ secrets.PERSONAL_TOKEN_PR }} token: ${{ secrets.PERSONAL_TOKEN_PR }}
commit-message: Update dependencies commit-message: Update dependencies
@ -35,3 +36,8 @@ jobs:
branch: update-dependencies branch: update-dependencies
title: Update dependencies title: Update dependencies
delete-branch: true delete-branch: true
- name: Enable auto merge
uses: peter-evans/enable-pull-request-automerge@v2
with:
token: ${{ secrets.PERSONAL_TOKEN_PR }}
pull-request-number: ${{ steps.create-pull-request.outputs.pull-request-number }}