Enable Dependency Cleaner only jobs on Git repos
Similar to Unit Test jobs for connected Salesforce orgs, it would be great to have independent Dependency Cleaner jobs for our source repos to help identify problems separate from any particular commit.
In our flow, not every commit goes through Gearset, so it's possible that our repo could become "undeployable" as a result of these non-Gearset commits. If this occurs, it then comes confusing on the next Gearset commit since the Dependency Cleaner will add all the deletions it deems required which don't relate at all to the PR being reviewed.
A the end of the day, we'd like our PRs to be limited only to the changes being made for that feature or bugfix, while also leveraging the Dependency Cleaner to be keep our repo healthy.
-
Jonathan Flatt commented
This would be fantastic. I'd like to manually review anything the Cleaner does before actioning. We have lots of managed packages and when testing found the repo cleaner to be too aggressive.