From 3300068c392a42753f7438ffd14d2e82519d5c13 Mon Sep 17 00:00:00 2001 From: Marcus Brandenburger Date: Mon, 29 Apr 2024 20:18:59 +0200 Subject: [PATCH 1/2] Add Dependabot Signed-off-by: Marcus Brandenburger --- .github/dependabot.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..33a00a33a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 + +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + + - package-ecosystem: "gomod" + directory: "/" + allow: + - dependency-type: all + schedule: + interval: "weekly" From f95f47918797d95405c75ac4124966b69a54147d Mon Sep 17 00:00:00 2001 From: Marcus Brandenburger Date: Tue, 30 Apr 2024 00:00:23 +0200 Subject: [PATCH 2/2] Add sample chaincode as tool By adding the sample chaincode to the tools as dep prevents unwanted cleanup, e.g., by dependabot Signed-off-by: Marcus Brandenburger --- utils/tools.go | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/tools.go b/utils/tools.go index 1a7b042be..e7faa5019 100644 --- a/utils/tools.go +++ b/utils/tools.go @@ -11,6 +11,7 @@ package utils import ( _ "github.com/client9/misspell/cmd/misspell" + _ "github.com/hyperledger/fabric-samples/asset-transfer-basic/chaincode-go" _ "github.com/maxbrunsfeld/counterfeiter/v6" _ "github.com/onsi/ginkgo/v2/ginkgo" _ "golang.org/x/tools/cmd/goimports"