Skip to content
Merged
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
26 changes: 19 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
# Dependabot policy: SECURITY UPDATES ONLY.
#
# `open-pull-requests-limit: 0` switches off scheduled *version* updates for the
# ecosystem. Security updates are explicitly exempt from that limit, so
# Dependabot still opens a PR for every open Dependabot alert with a patch.
# See docs.github.com/code-security/dependabot/working-with-dependabot/dependabot-options-reference
#
# `labels` applies to security-update PRs too, which is the point: `pr-type-label`
# is a required check and Dependabot applies no `type:` label of its own, so
# without this every Dependabot PR is unmergeable and gets closed unread.
# The label is scoped per `package-ecosystem`/`directory` entry, so EVERY manifest
# directory in the repo needs an entry here even though version updates are off.
#
# If scheduled version updates are ever turned back on (limit > 0), revisit the
# label: `type:security` would then be wrong for routine bumps.
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 5
groups:
go-deps:
patterns: ["*"]
open-pull-requests-limit: 0
labels: ["type:security", "dependencies"]
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
groups:
actions-deps:
patterns: ["*"]
open-pull-requests-limit: 0
labels: ["type:security", "dependencies"]
Loading