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 4364172 commit e72f62fCopy full SHA for e72f62f
.github/workflows/auto-merge.yml
@@ -0,0 +1,23 @@
1
+name: Dependabot auto-merge
2
+on: pull_request
3
+
4
+permissions:
5
+ contents: write
6
+ pull-requests: write
7
8
+jobs:
9
+ dependabot:
10
+ runs-on: ubuntu-latest
11
+ if: ${{ github.actor == 'dependabot[bot]' }}
12
+ steps:
13
+ - name: Dependabot metadata
14
+ id: metadata
15
+ uses: dependabot/[email protected]
16
+ with:
17
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
18
+ - name: Enable auto-merge for Dependabot PRs
19
+ run: |
20
+ gh pr merge "$PR_URL" --auto --squash --body="Co-authored-by: Boni Garcia <[email protected]>"
21
+ env:
22
+ PR_URL: ${{github.event.pull_request.html_url}}
23
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments