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
4 changes: 2 additions & 2 deletions .claude/skills/update-deps/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ allowed-tools:
- Bash(git diff *)
- Bash(gh pr list *)
- Bash(gh pr diff *)
- Bash(gh api repos/mozilla/protocol/dependabot/alerts*)
- Bash(gh api repos/mozilla/ensemble/dependabot/alerts*)
- Read
- Edit
- Grep
Expand Down Expand Up @@ -92,7 +92,7 @@ Run these for every outdated dependency, including patch bumps. An update to one

### Security status

Fetch open alerts with `gh api "repos/mozilla/protocol/dependabot/alerts?state=open&per_page=100"`. An update is **security-related** if it moves the package out of an alert's vulnerable range. Record the highest severity it fixes.
Fetch open alerts with `gh api "repos/mozilla/ensemble/dependabot/alerts?state=open&per_page=100"`. An update is **security-related** if it moves the package out of an alert's vulnerable range. Record the highest severity it fixes. If the request fails, stop and tell the user the security check is incomplete; don't treat a failure as "no alerts."

### 7-day cool-down

Expand Down
55 changes: 55 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 7
groups:
actions:
patterns:
- "*"
update-types:
- "minor"
- "patch"
- package-ecosystem: "npm"
directory: "/"
ignore:
# Enzyme only supports React 16 (enzyme-adapter-react-16), so React majors break the unit tests.
- dependency-name: "react"
update-types: ["version-update:semver-major"]
- dependency-name: "react-dom"
update-types: ["version-update:semver-major"]
- dependency-name: "react-test-renderer"
update-types: ["version-update:semver-major"]
# 3.x is a rewrite that's incompatible with react-metrics-graphics (see update-deps/denied.md).
- dependency-name: "metrics-graphics"
update-types: ["version-update:semver-major"]
schedule:
interval: "monthly"
cooldown:
default-days: 7
semver-major-days: 30
open-pull-requests-limit: 10
groups:
frontend:
dependency-type: production
update-types:
- "minor"
- "patch"
dev-dependencies:
dependency-type: development
update-types:
- "minor"
- "patch"
# Security updates ignore the groups above (they default to version-updates).
npm-security:
applies-to: security-updates
patterns:
- "*"
update-types:
- "minor"
- "patch"
labels:
- dependencies
Loading