Skip to content

Commit 44d2815

Browse files
committed
More Dependabot fun
1 parent 2a0097e commit 44d2815

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ updates:
55
schedule:
66
interval: "weekly"
77
open-pull-requests-limit: 1
8-
8+
ignore:
9+
# For all packages, ignore all patch updates
10+
- dependency-name: "*"
11+
update-types: ["version-update:semver-patch"]

.github/workflows/autmerge.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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: Enable auto-merge for Dependabot PRs
14+
run: gh pr merge --auto --merge "$PR_URL"
15+
env:
16+
PR_URL: ${{github.event.pull_request.html_url}}
17+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)