Skip to content

Commit b9fc66b

Browse files
p3dr0rvCopilot
andauthored
Add dependency change warning to copilot-instructions.md, Fixes AB#3557152 (#3045)
When any change is made to a build.gradle or versions.gradle file that adds a new dependency or changes a dependency version, Copilot will now display a warning pointing to the Adding or Updating Gradle Dependencies documentation. [AB#3557152](https://identitydivision.visualstudio.com/fac9d424-53d2-45c0-91b5-ef6ba7a6bf26/_workitems/edit/3557152) --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 184019b commit b9fc66b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/copilot-instructions.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,11 @@ See [changelog.txt](../changelog.txt) for the changelog format.
554554

555555
## 11. Dependencies & Versioning
556556

557+
When any change is made to a `common/build.gradle` file or the shared dependency versions file at `gradle/versions.gradle` that adds a new dependency or changes a dependency version, always display the following warning message:
558+
> ⚠️ **Warning:** Changes detected ⚠️
559+
>
560+
> Please follow the recommendations in [Adding or Updating Gradle Dependencies](https://eng.ms/docs/microsoft-security/identity/entra-developer-application-platform/auth-client/authn-sdk-msal-android/android-auth-libraries/how-tos/adding-or-updating-gradle-dependencies).
561+
557562
Flag:
558563
- Security library downgrade.
559564
- Major upgrade without referenced release notes.
@@ -674,4 +679,4 @@ Always cite specific code and give a minimal, actionable fix; use an assumption
674679

675680
---
676681

677-
Thank you for contributing to this project!
682+
Thank you for contributing to this project!

0 commit comments

Comments
 (0)