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 ccbc65f commit 83cb363Copy full SHA for 83cb363
.github/workflows/dependabot-auto-merge.yml
@@ -0,0 +1,21 @@
1
+name: Dependabot auto-merge
2
+on: pull_request
3
+
4
+permissions:
5
+ contents: write
6
+ pull-requests: write
7
8
+jobs:
9
+ get-metadata:
10
+ uses: ./.github/workflows/dependabot-metadata.yml
11
12
+ dependabot:
13
+ runs-on: ubuntu-latest
14
+ needs: get-metadata
15
+ steps:
16
+ - name: Enable auto-merge for Dependabot PRs
17
+ if: needs.get-metadata.outputs.update-type == 'version-update:semver-patch'
18
+ run: gh pr merge --auto --merge "$PR_URL"
19
+ env:
20
+ PR_URL: ${{ github.event.pull_request.html_url }}
21
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments