Skip to content

Commit ba6e162

Browse files
authored
Add Dependabot auto-merge workflow (#462)
## Summary - Add GitHub workflow to automatically approve and merge Dependabot PRs - Uses `merge` method for clean commit history
2 parents fd3d9a1 + 649e619 commit ba6e162

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Dependabot Auto Manage
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+
- uses: ad/dependabot-auto-approve@v1
14+
with:
15+
dependency-type: 'all'
16+
auto-merge: 'true'
17+
merge-method: 'merge'
18+
add-label: 'auto-merged'

0 commit comments

Comments
 (0)