Skip to content

Commit

Permalink
Switch to Renovate (#1317)
Browse files Browse the repository at this point in the history
* Add renovate config

* Remove dependabot config and functionality
  • Loading branch information
MrAlias authored Nov 27, 2024
1 parent 39ad208 commit 65ba45d
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 363 deletions.
273 changes: 0 additions & 273 deletions .github/dependabot.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
sudo apt-get update && sudo apt-get install -y clang llvm libbpf-dev
- name: Run linters
run: make license-header-check dependabot-check go-mod-tidy golangci-lint
run: make license-header-check go-mod-tidy golangci-lint
- name: Check clean repository
run: make check-clean-work-tree
race-test:
Expand Down
29 changes: 0 additions & 29 deletions .github/workflows/create-dependabot-pr.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/scripts/dependabot-pr.sh

This file was deleted.

11 changes: 1 addition & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CGO_ENABLED?=0
.DEFAULT_GOAL := precommit

.PHONY: precommit
precommit: license-header-check dependabot-generate golangci-lint-fix test codespell
precommit: license-header-check golangci-lint-fix test codespell

# Tools
$(TOOLS):
Expand Down Expand Up @@ -148,15 +148,6 @@ verify-licenses: generate $(GOLICENSES)
exit 1; \
fi; \

DEPENDABOT_CONFIG = .github/dependabot.yml
.PHONY: dependabot-check
dependabot-check: | $(DBOTCONF)
@$(DBOTCONF) --ignore "/LICENSES" verify $(DEPENDABOT_CONFIG) || ( echo "(run: make dependabot-generate)"; exit 1 )

.PHONY: dependabot-generate
dependabot-generate: | $(DBOTCONF)
@$(DBOTCONF) --ignore "/LICENSES" generate > $(DEPENDABOT_CONFIG)

.PHONY: license-header-check
license-header-check:
@licRes=$$(for f in $$(find . -type f \( -iname '*.go' -o -iname '*.sh' -o -iname '*.c' -o -iname '*.h' \) ! -path '**/third_party/*' ! -path './.git/*' ! -path './LICENSES/*' ! -path './internal/include/libbpf/*' ) ; do \
Expand Down
Loading

0 comments on commit 65ba45d

Please sign in to comment.