Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion modules/repository-base/01_mod.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ ifndef repo_name
$(error repo_name is not set)
endif

repository_base_dir := $(dir $(lastword $(MAKEFILE_LIST)))/base/
_repository_base_module_dir := $(dir $(lastword $(MAKEFILE_LIST)))
repository_base_dir := $(_repository_base_module_dir)base/

.PHONY: generate-base
## Generate base files in the repository
Expand All @@ -27,5 +28,9 @@ generate-base:
find . -type f | while read file; do \
sed "s|{{REPLACE:GH-REPOSITORY}}|$(repo_name:github.com/%=%)|g" "$$file" > "$(CURDIR)/$$file"; \
done
Comment thread
erikgb marked this conversation as resolved.
if [ ! -e ./.github/renovate.json5 ]; then \
mkdir -p ./.github; \
cp $(_repository_base_module_dir)/renovate-bootstrap-config.json5 ./.github/renovate.json5; \
fi
Comment on lines +31 to +34

Copilot AI Sep 9, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The shell command spans multiple lines without proper line continuation. Each line should end with a backslash (\) for proper make syntax, or the entire command should be on a single line with && separators.

Copilot uses AI. Check for mistakes.

shared_generate_targets += generate-base
165 changes: 0 additions & 165 deletions modules/repository-base/base/.github/renovate.json5

This file was deleted.

6 changes: 6 additions & 0 deletions modules/repository-base/renovate-bootstrap-config.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'github>cert-manager/renovate-config:default.json5',
],
}
Loading