From 7068565ab12d5a8bb14bc2b453f3048f38778f8f Mon Sep 17 00:00:00 2001 From: moul-bot Date: Mon, 9 Nov 2020 22:53:21 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20repo=20maintenance=20=F0=9F=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit more details: https://github.com/moul/repoman Signed-off-by: moul-bot --- .github/dependabot.yml | 20 ++++++++++++++++++++ rules.mk | 8 ++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..96d0d69 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,20 @@ +version: 2 +updates: +- package-ecosystem: docker + directory: "/" + schedule: + interval: daily + time: "04:00" + open-pull-requests-limit: 10 +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + time: "04:00" + open-pull-requests-limit: 10 +- package-ecosystem: gomod + directory: "/" + schedule: + interval: daily + time: "04:00" + open-pull-requests-limit: 10 diff --git a/rules.mk b/rules.mk index 2979d9c..cc1fe61 100644 --- a/rules.mk +++ b/rules.mk @@ -197,7 +197,7 @@ go.bumpdeps: go.fmt: @set -e; for dir in $(GOMOD_DIRS); do ( set -xe; \ cd $$dir; \ - $(GO) run golang.org/x/tools/cmd/goimports -w `go list -f '{{.Dir}}' ./...)` \ + $(GO) run golang.org/x/tools/cmd/goimports -w `go list -f '{{.Dir}}' ./...` \ ); done VERIFY_STEPS += go.depaware-check @@ -207,7 +207,11 @@ TIDY_STEPS += go.tidy LINT_STEPS += go.lint UNITTEST_STEPS += go.unittest FMT_STEPS += go.fmt -GENERATE_STEPS += go.depaware-update + +# FIXME: disabled, because currently slow +# new rule that is manually run sometimes, i.e. `make pre-release` or `make maintenance`. +# alternative: run it each time the go.mod is changed +#GENERATE_STEPS += go.depaware-update endif ##