getsentry / sentry-android-gradle-plugin

Gradle plugin for Sentry Android. Upload proguard, debug files, and more.
https://docs.sentry.io/platforms/android/gradle/
MIT License
143 stars 33 forks source link

chore: Add action to warn about potentially risky PR changes #769

Closed kahest closed 1 month ago

kahest commented 1 month ago

:scroll: Description

Implement a mechanism that automatically adds an "alert" comment to PRs if they include changes to files we think have higher potential to break things than others.

:bulb: Motivation and Context

same as https://github.com/getsentry/sentry-java/pull/3726

:green_heart: How did you test it?

✅ by adding the file-filter.yml introduced in this PR to the list of potentially risky changes and ensuring that an alert is shown Screenshot 2024-09-30 at 17 29 51

:pencil: Checklist

:crystal_ball: Next steps

skip-changelog

github-actions[bot] commented 1 month ago

🚨 Detected changes in high risk code 🚨

High-risk code has higher potential to break the SDK and may be hard to test. To prevent severe bugs, apply the rollout process for releasing such changes and be extra careful when changing and reviewing these files: