Skip to content

Commit

Permalink
[chore] Cut number of dependabot.yml entries to fit the limit (#19411)
Browse files Browse the repository at this point in the history
Temporary workaround to unblock automated dependabot PRs
  • Loading branch information
dmitryax committed Mar 9, 2023
1 parent b51da37 commit 25c6c0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1102,8 +1102,3 @@ updates:
schedule:
interval: "weekly"
day: "wednesday"
- package-ecosystem: "gomod"
directory: "/testbed/mockdatasenders/mockdatadogagentexporter"
schedule:
interval: "weekly"
day: "wednesday"
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,19 @@ 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}; \
echo " schedule:" >> ${DEPENDABOT_PATH}; \
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)
Expand Down

0 comments on commit 25c6c0e

Please sign in to comment.