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 e80d0ff commit 91a5860Copy full SHA for 91a5860
.github/workflows/dependabot-auto-merge.yml
@@ -0,0 +1,18 @@
1
+name: Dependabot auto-merge
2
+on: pull_request_target
3
+permissions:
4
+ pull-requests: write
5
+ contents: write
6
+jobs:
7
+ dependabot:
8
+ runs-on: ubuntu-20.04
9
+ if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
10
+ steps:
11
+ - name: Dependabot metadata
12
+ id: dependabot-metadata
13
+ uses: dependabot/[email protected]
14
+ - name: Enable auto-merge for Dependabot PRs
15
+ run: gh pr merge --auto --squash "$PR_URL"
16
+ env:
17
+ PR_URL: ${{github.event.pull_request.html_url}}
18
+ GITHUB_TOKEN: ${{ secrets.NGINX_PAT }}
0 commit comments