chore: update dependabot

This commit is contained in:
cl.st committed 2025-03-24 21:22:28 +01:00
1 parent c8cb994217
commit 2f0ecd7eff
2 files changed
+29 -3

No files matched your search

+7 -3
View File
@@ -5,7 +5,11 @@
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
interval: "daily"
groups:
root-dependencies:
patterns:
- "*"
+22
View File
@@ -0,0 +1,22 @@
name: Dependabot auto-merge
on: pull_request
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2.1.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}