Skip to content

Commit f29e07c

Browse files
authored
Update automerge.yml
1 parent 08a036d commit f29e07c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/automerge.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ on:
99
jobs:
1010
automerge:
1111
runs-on: ubuntu-latest
12+
if: ${{ github.actor == 'dependabot[bot]' }}
13+
permissions:
14+
pull-requests: write
15+
contents: write
1216
steps:
1317
- name: automerge
14-
uses: pascalgn/automerge-action@v0.15.6
15-
env:
16-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17-
MERGE_METHOD: squash
18+
uses: fastify/github-action-merge-dependabot@v3
19+
with:
20+
github-token: ${{secrets.GITHUB_TOKEN}}
21+
merge-method: squash

0 commit comments

Comments
 (0)