We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e98079c commit 03ef741Copy full SHA for 03ef741
1 file changed
.github/workflows/tests.yml
@@ -73,3 +73,20 @@ jobs:
73
uses: re-actors/alls-green@release/v1
74
with:
75
jobs: ${{ toJSON(needs) }}
76
+
77
+ automerge:
78
+ name: Enable auto-merge
79
+ if: github.event_name == 'pull_request' && (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'renovate[bot]')
80
+ needs:
81
+ - tests
82
+ runs-on: ubuntu-24.04
83
+ permissions:
84
+ contents: write
85
+ pull-requests: write
86
+ steps:
87
+ - name: Enable auto-merge for PR
88
+ env:
89
+ GH_TOKEN: ${{ github.token }}
90
+ PR_URL: ${{ github.event.pull_request.html_url }}
91
+ PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
92
+ run: gh pr merge --auto --merge --match-head-commit "$PR_HEAD_SHA" "$PR_URL"
0 commit comments