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 457cdc1 commit 5d0edf2Copy full SHA for 5d0edf2
1 file changed
.github/workflows/dependabot-automerge.yaml
@@ -0,0 +1,25 @@
1
+name: Dependabot automerge
2
+
3
+on:
4
+ pull_request:
5
+ types: [opened, synchronize]
6
7
+jobs:
8
+ automerge:
9
+ runs-on: ubuntu-latest
10
+ if: github.actor == 'dependabot[bot]'
11
+ permissions:
12
+ contents: write
13
+ pull-requests: write
14
+ steps:
15
+ - name: Fetch Dependabot metadata
16
+ id: metadata
17
+ uses: dependabot/fetch-metadata@v3
18
19
+ - name: Enable auto-merge for github-actions updates
20
+ if: steps.metadata.outputs.package-ecosystem == 'github_actions'
21
+ run: gh pr merge --auto --squash "$PR_URL"
22
+ env:
23
+ PR_URL: ${{ github.event.pull_request.html_url }}
24
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
0 commit comments