From fe7718db027ba89f62b10f30f0aac7bdc3243aa9 Mon Sep 17 00:00:00 2001 From: Badri Vishal Pandey Date: Sat, 7 Nov 2026 22:39:42 +0530 Subject: [PATCH] feat(dependabot): add Docker ecosystem for container projects --- scripts/apply.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/apply.sh b/scripts/apply.sh index 96dd1bc..5a929ee 100644 --- a/scripts/apply.sh +++ b/scripts/apply.sh @@ -184,6 +184,14 @@ write ".github/ISSUE_TEMPLATE/bug_report.yml" "$TPL/.github/ISSUE_TEMPLATE/bug_r write ".github/ISSUE_TEMPLATE/feature_request.yml" "$TPL/.github/ISSUE_TEMPLATE/feature_request.yml" write ".github/PULL_REQUEST_TEMPLATE.md" "$TPL/.github/PULL_REQUEST_TEMPLATE.md" write ".github/dependabot.yml" "$TPL/.github/dependabot.yml" +if [ -n "$DOCKER" ] && [ ! -e "$DIR/.github/dependabot.yml" ]; then + cat >> "$STAGE/.github/dependabot.yml" <<'EOF' + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "weekly" +EOF +fi if [ "$STACK" = "generic" ]; then # generic-ci.yml only lints shell scripts; on a repo with none (docs, data, a # config-only project) that's a workflow that runs and does nothing. Skip it