Skip to content
Open
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
35 changes: 35 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: 2

updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
day: 'monday'
time: '11:00'
timezone: 'America/Los_Angeles'
cooldown:
default-days: 7

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noice! Didn't realize they had added this feature.

groups:
security-vulnerabilities-npm:
applies-to: 'security-updates'
update-types:
- 'minor'
- 'patch'
patterns:
- '*'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about something like this?

allow:
  - dependency-name: "*"
    update-types:
      - "version-update:semver-minor"
      - "version-update:semver-patch"

This would prevent major version bumps.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implemented in 43beb85. I kept major updates enabled: an allow.update-types rule would suppress them entirely. Instead, the npm security group now matches only minor and patch updates. A security fix that requires a major bump remains alert-triggered and immediate, but opens as an individual PR rather than being batched. GitHub Actions remains unchanged because this repository uses major-only action tags, so a minor/patch SemVer filter would not be useful there.


- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
day: 'monday'
time: '11:00'
timezone: 'America/Los_Angeles'
cooldown:
default-days: 7
groups:
security-vulnerabilities-github-actions:
applies-to: 'security-updates'
patterns:
- '*'
Loading