Skip to content

Commit dadf3d9

Browse files
authored
chore(ci): split rollkit org deps out to reduce spam (#1868)
<!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. NOTE: PR titles should follow semantic commits: https://www.conventionalcommits.org/en/v1.0.0/ --> ## Overview <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. Ex: Closes #<issue number> --> This PR adds updates to the dependabot config to address the PR spam. We want to be pulling in rollkit dependency updates ASAP so dependabot should trigger daily, however we care less about the frequency of updates from other dependencies. This PR splits our a daily and weekly update for the github actions and gomod triggers. For rollkit owned dependencies, the trigger will remain daily and both minor and patch updates will be grouped. For non-rollkit updates, the trigger is reduced to weekly. The wildcard dependency strings are based off of [this commit](d385946) and [this commit](562c79e). Dependabot docs REF: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#allow We should watch this update for a week and then apply to other repos.
1 parent 63ff092 commit dadf3d9

1 file changed

Lines changed: 31 additions & 1 deletion

File tree

.github/dependabot.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,37 @@
11
version: 2
22
updates:
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
open-pull-requests-limit: 10
8+
labels:
9+
- T:dependencies
10+
# Group all patch updates into a single PR
11+
groups:
12+
patch-updates:
13+
applies-to: version-updates
14+
update-types:
15+
- "patch"
316
- package-ecosystem: github-actions
417
directory: "/"
518
schedule:
619
interval: daily
20+
allow:
21+
- dependency-name: "rollkit/*"
22+
labels:
23+
- T:dependencies
24+
# Group all patch updates into a single PR
25+
groups:
26+
patch-updates:
27+
applies-to: version-updates
28+
update-types:
29+
- "patch"
30+
- "minor"
31+
- package-ecosystem: gomod
32+
directory: "/"
33+
schedule:
34+
interval: weekly
735
open-pull-requests-limit: 10
836
labels:
937
- T:dependencies
@@ -17,7 +45,8 @@ updates:
1745
directory: "/"
1846
schedule:
1947
interval: daily
20-
open-pull-requests-limit: 10
48+
allow:
49+
- dependency-name: "github.com/rollkit/*"
2150
labels:
2251
- T:dependencies
2352
# Group all patch updates into a single PR
@@ -26,6 +55,7 @@ updates:
2655
applies-to: version-updates
2756
update-types:
2857
- "patch"
58+
- "minor"
2959
- package-ecosystem: docker
3060
directory: "/docker"
3161
schedule:

0 commit comments

Comments
 (0)