We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82c92e4 commit 85d1d09Copy full SHA for 85d1d09
.github/workflows/dependabot-automerge.yml
@@ -0,0 +1,20 @@
1
+name: Dependabot Automerge
2
+on: pull_request
3
+
4
+permissions:
5
+ contents: write
6
7
+jobs:
8
+ dependabot-automerge:
9
+ runs-on: ubuntu-latest
10
+ env:
11
+ PR_URL: ${{github.event.pull_request.html_url}}
12
+ GH_TOKEN: ${{ github.token }}
13
+ steps:
14
+ - name: describe for '${{ github.event.pull_request.title }}'
15
+ run: |
16
+ printf "github.actor == '%s'\n" "${{ github.actor }}"
17
+ - name: merge
18
+ run: gh pr merge --auto --squash --delete-branch "$PR_URL"
19
+ if: ${{ github.actor == 'dependabot[bot]'
20
+ }}
0 commit comments