sindresorhus/refined-github

`update-pr-from-base-branch` shouldn't appear when there's a "Resolve conflicts" button #3861

fregante posted onGitHub

"Resolve conflicts" is the native button to update the branch, so update-pr-from-base-branch should not run in that case.

Example URL: https://github.com/sindresorhus/refined-github/pull/3855

<img width="635" alt="" src="https://user-images.githubusercontent.com/1402241/103714600-93454580-4f84-11eb-812c-d41f95de57b0.png">


Actually, I think our "Resolve conflicts" button only appears on draft PRs because GitHub didn't show the native one.

Now they do, so:

  • drop our "Resolve conflicts" button
  • if that button is found on the page, the feature shouldn't do anything
posted by fregante about 4 years ago

Fund this Issue

$0.00
Funded

Pull requests