Skip to content

Commit

Permalink
Update dependabot.yaml for security updates
Browse files Browse the repository at this point in the history
Testing if dependabot can create security pull request for release-2.6, 2.7 and 2.8 branches.

I am trying to cheat with a separate `updates` entry per branch.

Most likely dependabot cannot bump only security-relevan dependencies in older branches, see  dependabot/dependabot-core#2767 (comment)
  • Loading branch information
jsafrane committed Jun 15, 2023
1 parent c9200e1 commit a68bc84
Showing 1 changed file with 40 additions and 3 deletions.
43 changes: 40 additions & 3 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
labels:
- "area/dependency"
- "release-note-none"
- "ok-to-test"
open-pull-requests-limit: 10

- package-ecosystem: gomod
directory: "/"
schedule:
Expand All @@ -9,12 +19,39 @@ updates:
- "release-note-none"
- "ok-to-test"
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"

# The list below needs to be maintained manually with every branch we support.
# It allows dependabot to open security-only updates in supported branches.
# ("open-pull-requests-limit: 0" blocks non-security updates)
- package-ecosystem: gomod
open-pull-requests-limit: 0
target-branch: "release-2.6"
directory: "/"
schedule:
interval: "daily"
interval: daily
labels:
- "area/dependency"
- "release-note-none"
- "ok-to-test"

- package-ecosystem: gomod
open-pull-requests-limit: 0
target-branch: "release-2.7"
directory: "/"
schedule:
interval: daily
labels:
- "area/dependency"
- "release-note-none"
- "ok-to-test"

- package-ecosystem: gomod
open-pull-requests-limit: 0
target-branch: "release-2.8"
directory: "/"
schedule:
interval: daily
labels:
- "area/dependency"
- "release-note-none"
- "ok-to-test"
open-pull-requests-limit: 10

0 comments on commit a68bc84

Please sign in to comment.