question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warn PR author when eng/common is modified in consumer repo

See original GitHub issue

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:

Reminder: eng/common is a mirror directory. Please submit changes in dotnet/arcade repo to avoid conflicts during the subsequent arcade update.

ps: such reverts took place in dotnet/runtime repo few times, and currently eng/common in aspnetcore repo is diverged.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
akoeplingercommented, Sep 29, 2021

@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.

1reaction
danmoseleycommented, Sep 10, 2021

@akoeplinger I think you made the backport Github Action. do you know of any existing action that would do something like the above?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Danger - Reference
Currently, this is just the raw file paths that have been added, removed or modified. danger.git: GitDSL // The GitHub metadata. This covers...
Read more >
Contributing | Azure SDK for .NET
Client Libraries are sdks used to interact with azure resources at application run time while Management Libraries are those used to manage (create/modify/ ......
Read more >
World Wildlife Crime Report
I am proud to present this UNODC report, our very first to delve into the global dimensions of wildlife and forest crime. I...
Read more >
Deconstructing Moral Rights
In order for a German court to hold that the right of integrity is infringed, it must find (i) that the work has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found