Skip to content

Commit

Permalink
chore: Test dependencies are updated only once a week (#1947)
Browse files Browse the repository at this point in the history
* Add a hack to make updating the same directory at different schedules possible.

Currently, configs must have a unique combination of 'package-ecosystem', 'directory', and 'target-branch'. However, specifying 'target-branch' seems to be the hack to make it work.
  • Loading branch information
FelisiaM authored Jun 20, 2024
1 parent d2c5190 commit d662545
Showing 1 changed file with 31 additions and 20 deletions.
51 changes: 31 additions & 20 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,33 @@ updates:
schedule:
interval: "daily"
time: "20:00"
ignore:
- dependency-name: "github.com/aws/aws-sdk-go-v2"
- dependency-name: "github.com/aws/aws-sdk-go-v2/*"
- package-ecosystem: gomod
directory: "/"
target-branch: main
schedule:
interval: "weekly"
day: "saturday"
groups:
aws-sdk-go-v2:
patterns:
- "github.com/aws/aws-sdk-go-v2/*"
labels:
- "test-dependencies"
- package-ecosystem: gomod
directory: "/acceptance-tests/apps/postgresqlapp"
schedule:
interval: "daily"
time: "20:30"
interval: "weekly"
day: "saturday"
labels:
- "test-dependencies"
- package-ecosystem: gomod
directory: "/acceptance-tests/apps/s3app"
schedule:
interval: "daily"
time: "21:00"
interval: "weekly"
day: "saturday"
groups:
aws-sdk-go-v2:
patterns:
Expand All @@ -30,29 +41,29 @@ updates:
- package-ecosystem: gomod
directory: "/acceptance-tests/apps/mysqlapp"
schedule:
interval: "daily"
time: "21:30"
interval: "weekly"
day: "saturday"
labels:
- "test-dependencies"
- package-ecosystem: gomod
directory: "/acceptance-tests/apps/mssqlapp"
schedule:
interval: "daily"
time: "22:00"
interval: "weekly"
day: "saturday"
labels:
- "test-dependencies"
- package-ecosystem: gomod
directory: "/acceptance-tests/apps/redisapp"
schedule:
interval: "daily"
time: "22:30"
interval: "weekly"
day: "saturday"
labels:
- "test-dependencies"
- package-ecosystem: gomod
directory: "/acceptance-tests/apps/dynamodbtableapp"
schedule:
interval: "daily"
time: "23:00"
interval: "weekly"
day: "saturday"
groups:
aws-sdk-go-v2:
patterns:
Expand All @@ -62,8 +73,8 @@ updates:
- package-ecosystem: gomod
directory: "/acceptance-tests/apps/dynamodbnsapp"
schedule:
interval: "daily"
time: "23:30"
interval: "weekly"
day: "saturday"
groups:
aws-sdk-go-v2:
patterns:
Expand All @@ -73,8 +84,8 @@ updates:
- package-ecosystem: gomod
directory: "/acceptance-tests/apps/sqsapp"
schedule:
interval: "daily"
time: "23:30"
interval: "weekly"
day: "saturday"
groups:
aws-sdk-go-v2:
patterns:
Expand All @@ -84,8 +95,8 @@ updates:
- package-ecosystem: gomod
directory: "/providers/terraform-provider-csbdynamodbns"
schedule:
interval: "daily"
time: "00:00"
interval: "weekly"
day: "saturday"
groups:
aws-sdk-go-v2:
patterns:
Expand All @@ -95,8 +106,8 @@ updates:
- package-ecosystem: gomod
directory: "/providers/terraform-provider-csbmajorengineversion/"
schedule:
interval: "daily"
time: "00:30"
interval: "weekly"
day: "saturday"
groups:
aws-sdk-go-v2:
patterns:
Expand Down

0 comments on commit d662545

Please sign in to comment.