Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,35 @@
version: 2
updates:
- package-ecosystem: "npm"
directories:
- "/"
- "/api"
open-pull-requests-limit: 1
labels:
- "dependencies"
- "skip package*.json"
groups:
npm:
patterns: ["*"]
npm-security:
applies-to: security-updates
patterns: ["*"]
schedule:
interval: "daily"
cooldown:
default-days: 14
- package-ecosystem: "github-actions"
directory: "/"
open-pull-requests-limit: 1
labels:
- "dependencies"
- "github_actions"
- "skip package*.json"
groups:
github-actions:
patterns: ["*"]
schedule:
interval: "weekly"
interval: "daily"
cooldown:
# Delay updates beyond the highest-risk window after a release.
default-days: 14
20 changes: 20 additions & 0 deletions .github/workflows/dependabot-auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Dependabot auto-approve

on:
pull_request_target:
types: [opened, reopened, synchronize, ready_for_review]

permissions:
pull-requests: write

jobs:
approve:
if: github.event.pull_request.user.login == 'dependabot[bot]' && !github.event.pull_request.draft
runs-on: ubuntu-latest
steps:
- name: Approve Dependabot PR
run: gh pr review "$PR_NUMBER" --approve --repo "$GH_REPO"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
2 changes: 1 addition & 1 deletion .github/workflows/pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
mode: minimum
count: 1
labels: 'bug, debt, feature-request, no-changelog'
labels: 'bug, debt, dependencies, feature-request, no-changelog'
- name: 'PR has no no-merge label'
uses: mheap/github-action-required-labels@23e10fde7e062233401931a0eece796cd9bf3177 # v5.6.0
with:
Expand Down
Loading