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 527b1b2 commit 3c89b32Copy full SHA for 3c89b32
1 file changed
.github/workflows/merge.yml
@@ -0,0 +1,25 @@
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
13
+ steps:
14
+ - name: Dependabot Metadata
15
+ id: metadata
16
+ uses: dependabot/fetch-metadata@v2
17
+ with:
18
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
19
20
+ - name: Dependabot Auto-Merge PRs
21
+ if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
22
+ run: gh pr merge --auto --merge "$PR_URL"
23
+ env:
24
+ PR_URL: ${{github.event.pull_request.html_url}}
25
+ GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments