Skip to content

Commit c8183dd

Browse files
ci: add merger to recurring-sort.yml
1 parent 346b0ae commit c8183dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/recurring-sort.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
git diff --exit-code || echo "changes=true" >> $GITHUB_OUTPUT
3333
3434
- name: Create Pull Request
35+
id: create_pr
3536
if: steps.git-check.outputs.changes == 'true'
3637
uses: peter-evans/create-pull-request@v5
3738
with:
@@ -43,3 +44,9 @@ jobs:
4344
This PR was automatically generated by the Update workflow.
4445
branch: automated/sort-conferences
4546
delete-branch: true
47+
48+
- name: Auto merge
49+
if: steps.create_pr.outputs.pull-request-operation == 'created'
50+
run: gh pr merge --merge --auto "${{ steps.create_pr.outputs.pull-request-number }}"
51+
env:
52+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)