Skip to content

Commit

Permalink
chore: repo maintenance 🤖
Browse files Browse the repository at this point in the history
more details: https://github.com/moul/repoman

Signed-off-by: moul-bot <[email protected]>
  • Loading branch information
moul-bot committed Nov 9, 2020
1 parent f626303 commit c6de4ba
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 6 additions & 2 deletions rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

##
Expand Down

0 comments on commit c6de4ba

Please sign in to comment.