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