From 25c6c0e4fad1f28be6a8c9498c0057388eb242b7 Mon Sep 17 00:00:00 2001 From: Dmitrii Anoshin Date: Wed, 8 Mar 2023 16:25:01 -0800 Subject: [PATCH] [chore] Cut number of dependabot.yml entries to fit the limit (#19411) Temporary workaround to unblock automated dependabot PRs --- .github/dependabot.yml | 5 ----- Makefile | 7 ++++++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 10601f0f650c0..3677c3baddf63 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1102,8 +1102,3 @@ updates: schedule: interval: "weekly" day: "wednesday" - - package-ecosystem: "gomod" - directory: "/testbed/mockdatasenders/mockdatadogagentexporter" - schedule: - interval: "weekly" - day: "wednesday" diff --git a/Makefile b/Makefile index 775bc778e90a7..909db05913e5d 100644 --- a/Makefile +++ b/Makefile @@ -157,7 +157,7 @@ gendependabot: @echo " schedule:" >> ${DEPENDABOT_PATH} @echo " interval: \"weekly\"" >> ${DEPENDABOT_PATH} @echo " day: \"wednesday\"" >> ${DEPENDABOT_PATH} - @set -e; for dir in $(NONROOT_MODS); do \ + @set -e; for dir in `echo $(NONROOT_MODS) | tr ' ' '\n' | head -n 217 | tr '\n' ' '`; do \ echo "Add entry for \"$${dir:1}\""; \ echo " - package-ecosystem: \"gomod\"" >> ${DEPENDABOT_PATH}; \ echo " directory: \"$${dir:1}\"" >> ${DEPENDABOT_PATH}; \ @@ -165,6 +165,11 @@ gendependabot: echo " interval: \"weekly\"" >> ${DEPENDABOT_PATH}; \ echo " day: \"wednesday\"" >> ${DEPENDABOT_PATH}; \ done + @echo "The following modules are not included in the dependabot file because it has a limit of 220 entries:" + @set -e; for dir in `echo $(NONROOT_MODS) | tr ' ' '\n' | tail -n +218 | tr '\n' ' '`; do \ + echo " - $${dir:1}"; \ + done + # Define a delegation target for each module .PHONY: $(ALL_MODS)