-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warn PR author when eng/common is modified in consumer repo #6768
Comments
There is currently a readme.md in eng/common that warns against making changes in that folder: https://github.com/dotnet/arcade/blob/master/eng/common/README.md |
Great. I guess a common bot could point to this document in next line of that comment ( |
We don't really have that kind of infrastructure to proactively detect and correctly act on changes to eng/common. Usually, (intentional or accidental) changes caught and managed in the PR. Certainly, if we see more issues in this area changes here we'll look at investing more. |
@akoeplinger I think you made the backport Github Action. do you know of any existing action that would do something like the above? |
In practice, only few people are aware of https://github.com/dotnet/arcade/blob/master/eng/common/README.md, so we end up sending three PRs:
the fact is, this is not happening infrequently. |
@danmoseley This should be really easy to do with a GitHub Action that gets triggered by changes to eng/common, we'd just need to no-op for PRs from dotnet-bot i.e. legitimate updates. I'll take a stab at it. |
In arcade-powered repos, eng/common is logically a (readonly) mirror directory, which dotnet-maestro bot dutifully updates.
If a PR is submitted by a human being that updates a file under this directory, it is easy to misremember during the PR review. That causes a merge conflict in the next arcade update and mostly results in reverting the manual changes made earlier.
It would be nice if a bot post a comment to such PRs to help reminding reviewers about readonly-ness of eng/common, something to the effect:
ps: such reverts took place in dotnet/runtime repo few times, and currently eng/common in aspnetcore repo is diverged.
The text was updated successfully, but these errors were encountered: