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 688b6ca commit b88ddc8Copy full SHA for b88ddc8
1 file changed
.github/workflows/auto-merge-dependabot.yml
@@ -0,0 +1,25 @@
1
+name: Dependabot Auto-Merge
2
+on:
3
+ pull_request:
4
+ branches:
5
+ - 'main'
6
+
7
+permissions:
8
+ contents: write
9
+ pull-requests: write
10
11
+jobs:
12
+ dependabot:
13
+ runs-on: ubuntu-latest
14
+ if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security'
15
+ steps:
16
+ - name: Dependabot metadata
17
+ id: metadata
18
+ uses: dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7
19
+ with:
20
+ github-token: ${{ github.token }}
21
+ - name: Enable auto-merge for Dependabot PRs
22
+ run: gh pr merge --auto --merge "$PR_URL"
23
+ env:
24
+ PR_URL: ${{ github.event.pull_request.html_url }}
25
+ GH_TOKEN: ${{ github.token }}
0 commit comments