From 9d23fd620a21d4b54eeff885696725b83d04dfe3 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Wed, 26 Oct 2022 15:30:26 -0700 Subject: [PATCH] More dependabot (#6977) Apply dependabot to `settings.gradle.kts` and `build.gradle.kts` in a rather roundabout way (see README.md). Currently built on top of #6975 --- .github/dependabot.yml | 9 +++++++++ .github/project-root-duplicates/README.md | 6 ++++++ .github/project-root-duplicates/build.gradle.kts | 1 + .github/project-root-duplicates/settings.gradle.kts | 1 + 4 files changed, 17 insertions(+) create mode 100644 .github/project-root-duplicates/README.md create mode 120000 .github/project-root-duplicates/build.gradle.kts create mode 120000 .github/project-root-duplicates/settings.gradle.kts diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 73c2864379..8219609f80 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -39,6 +39,15 @@ updates: interval: "daily" open-pull-requests-limit: 10 + - package-ecosystem: "gradle" + # need to scope gradle dependency updates down in this repo because most of the instrumentations + # intentionally test against old library versions + directory: ".github/project-root-duplicates" + rebase-strategy: "disabled" + schedule: + interval: "daily" + open-pull-requests-limit: 10 + - package-ecosystem: "gradle" directory: "/" allow: diff --git a/.github/project-root-duplicates/README.md b/.github/project-root-duplicates/README.md new file mode 100644 index 0000000000..66e9de70b6 --- /dev/null +++ b/.github/project-root-duplicates/README.md @@ -0,0 +1,6 @@ +This directory and the two symlinks in it are used by the +[dependabot configuration](../.github/dependabot.yml), because we can't include the root directory +in the dependabot scanning since then it will pick up all of the old library versions that we +intentionally compile and test against. + +See https://github.com/dependabot/dependabot-core/issues/4364. diff --git a/.github/project-root-duplicates/build.gradle.kts b/.github/project-root-duplicates/build.gradle.kts new file mode 120000 index 0000000000..d9ef3a86cb --- /dev/null +++ b/.github/project-root-duplicates/build.gradle.kts @@ -0,0 +1 @@ +../../build.gradle.kts \ No newline at end of file diff --git a/.github/project-root-duplicates/settings.gradle.kts b/.github/project-root-duplicates/settings.gradle.kts new file mode 120000 index 0000000000..976ab1cc36 --- /dev/null +++ b/.github/project-root-duplicates/settings.gradle.kts @@ -0,0 +1 @@ +../../settings.gradle.kts \ No newline at end of file