Skip to content

Commit 11b0e59

Browse files
authored
ci: merge Dependabot pull requests automatically when tests pass (#579)
1 parent 36fa301 commit 11b0e59

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,16 @@ jobs:
6060
name: cypress-screenshots
6161
path: integration-tests/cypress/screenshots
6262
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`
63+
64+
automerge:
65+
needs: build
66+
name: Automerge Dependabot PRs
67+
runs-on: ubuntu-latest
68+
permissions:
69+
pull-requests: write
70+
contents: write
71+
steps:
72+
- uses: fastify/github-action-merge-dependabot@v3
73+
with:
74+
# https://github.com/fastify/github-action-merge-dependabot?tab=readme-ov-file
75+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)