Skip to content

Commit

Permalink
.github/dependabot.yml - Revert team based segmentation (#36345)
Browse files Browse the repository at this point in the history
Dependabot does not allow multiple configurations for a given
Go module. So this reverts the change to segment the configuration
along team boundaries with explicit team-based reviewer requirements.
It was complaining about

    The property '#/updates/1' is a duplicate. Update configs must have a unique combination of 'package-ecosystem', 'directory', and 'target-branch'
    The property '#/updates/2' is a duplicate. Update configs must have a unique combination of 'package-ecosystem', 'directory', and 'target-branch'

as pointed out in #36158 (comment).
  • Loading branch information
andrewkroh authored Aug 16, 2023
1 parent 9baefee commit a86e699
Showing 1 changed file with 4 additions and 30 deletions.
34 changes: 4 additions & 30 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
version: 2
# This section is segmented by the responsible GitHub teams in order
# to make it clear who is responsible for reviewing.
updates:
- package-ecosystem: gomod
directory: /
Expand All @@ -10,8 +8,8 @@ updates:
labels:
- automation
- dependabot
- Team:Elastic-Agent-Data-Plane
allow:
# Team:Elastic-Agent-Data-Plane
- dependency-name: github.com/elastic/elastic-agent-autodiscover
- dependency-name: github.com/elastic/elastic-agent-client/*
- dependency-name: github.com/elastic/elastic-agent-libs
Expand All @@ -29,38 +27,14 @@ updates:
- dependency-name: go.elastic.co/apm/*
- dependency-name: go.elastic.co/ecszap
- dependency-name: go.elastic.co/go-licence-detector
reviewers:
- elastic/elastic-agent-data-plane
open-pull-requests-limit: 2
- package-ecosystem: gomod
directory: /
schedule:
interval: daily
labels:
- automation
- dependabot
- Team:Security-External Integrations
allow:
# Team:Service-Integrations
- dependency-name: github.com/elastic/bayeux
# Team:Security-External Integrations
- dependency-name: github.com/elastic/go-libaudit/*
- dependency-name: github.com/elastic/go-perf
- dependency-name: github.com/elastic/go-seccomp-bpf
- dependency-name: github.com/elastic/toutoumomoma
ignore:
# Skip github.com/elastic/mito because it requires documentation updates.
- dependency-name: github.com/elastic/mito
reviewers:
- elastic/security-external-integrations
open-pull-requests-limit: 2
- package-ecosystem: gomod
directory: /
schedule:
interval: daily
labels:
- automation
- dependabot
- Team:Service-Integrations
allow:
- dependency-name: github.com/elastic/bayeux
reviewers:
- elastic/obs-infraobs-integrations
open-pull-requests-limit: 2

0 comments on commit a86e699

Please sign in to comment.