Skip to content

Commit 77e7c7e

Browse files
committed
Update dependabot.yml and remove custom workflow
Since June 25 2024, dependabot has added multi-directory support for dependencies. As the existing bump-deps.yml was meant as a workaround for this, we can safely remove it and rely solely on dependabot instead. Signed-off-by: David Son <davbson@amazon.com>
1 parent 45def2d commit 77e7c7e

File tree

3 files changed

+9
-101
lines changed

3 files changed

+9
-101
lines changed

.github/dependabot.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,21 @@ updates:
33

44
# Automatic upgrade for go modules.
55
- package-ecosystem: "gomod"
6-
directory: "/"
7-
schedule:
8-
interval: "daily"
9-
ignore:
10-
# skip grpc because the current latest not compatible with containerd 1.7
11-
# skip k8s deps since they use the latest go version/features that may
12-
# not be in the go version soci uses
13-
# Also ignored in /scripts/bump-deps.sh
14-
- dependency-name: "google.golang.org/grpc"
15-
- dependency-name: "k8s.io/*"
16-
17-
# Automatic upgrade for go modules of cmd package.
18-
- package-ecosystem: "gomod"
19-
directory: "/cmd"
6+
directories: ["/", "/cmd"]
7+
groups:
8+
go:
9+
# Group all of our updates in one PR.
10+
# This is mostly because this is the best way we could find
11+
# to group both go.mod and cmd/go.mod updates in one PR,
12+
# but ideally we should have one PR per unique dependency.
13+
patterns:
14+
- '*'
2015
schedule:
2116
interval: "daily"
2217
ignore:
2318
# skip grpc because the current latest not compatible with containerd 1.7
2419
# skip k8s deps since they use the latest go version/features that may
2520
# not be in the go version soci uses
26-
# Also ignored in /scripts/bump-deps.sh
2721
- dependency-name: "github.com/awslabs/soci-snapshotter"
2822
- dependency-name: "google.golang.org/grpc"
2923
- dependency-name: "k8s.io/*"

.github/workflows/bump-deps.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

scripts/bump-deps.sh

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)