You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sync-pr-commit-title renames PR to "Merge pull request #XXX from <branch>" #2713
Thanks to #1743, PRs are renamed to the merge commit title. However, that's typically an uninformative message, such as "Merge pull request #XXX from " — the PRs then shouldn't be renamed, but are, per the screenshot. The automated rename is
Blaisorblade changed the title Complete supporting guarded pDOT: Allow paths as value definitions, try 2 Merge pull request #155 from Blaisorblade/path-defs-rebase-2
(I later renamed this back by hand).
Disabling sync-pr-commit-title fixes the problem. Unfortunately, I'm only merging PRs in a private repo, so I can't (yet) give a public link (but I should be able to, soon).
Thanks for the answer; the real bug is the default title, but that isn't due to this extension.
GitHub proposes Merge pull request #XXX from ... as commit title, but only on some repos :-(.
This was the first time I used this feature (I’ve just installed the extension), I did notice the messaging announcing the change and offering to cancel, but thought I’d see what happens.
I can confirm that part 1. “First it copies the PR title to the PR commit title” (#2713 (comment)) didn’t work – the PR commit was using the default merge commit wording.
I think @thibaudcolas' report is sufficient, but FWIW I've been running into this same thing multiple times (one example: wikimedia-gadgets/twinkle#808). This is an awesome help, but simply clicking GH's merge button shouldn't default to something much less useful.
Activity
fregante commentedon Jan 20, 2020
sync-pr-commit-titlelets you disable the feature before merge:You can just click
cancelBlaisorblade commentedon Jan 20, 2020
Thanks for the answer; the real bug is the default title, but that isn't due to this extension.
GitHub proposes
Merge pull request #XXX from ...as commit title, but only on some repos :-(.fregante commentedon Jan 20, 2020
Actually
sync-pr-commit-titleis made of two parts:Merges...)So in this case it appears that the first part failed (so it remained
Merges...) while the second part succeeded (so it set the PR title toMerges...)If this behavior is reproducible, this is a bug somewhere here:
https://github.com/sindresorhus/refined-github/blob/22764b8ba0475cef2a87adf134acb828852daaa8/source/features/sync-pr-commit-title.tsx#L78-L89
jsumners commentedon Jan 21, 2020
@Blaisorblade thank you for filing this issue. It helped me figure out what to disable to get rid of this annoyance.
Blaisorblade commentedon Jan 21, 2020
@jsumners A request: has it occurred on a public repo? Can you post a link? All my examples are on a private repo 😕.
jsumners commentedon Jan 21, 2020
@Blaisorblade sorry, I am only seeing this in my private repos at the moment.
thibaudcolas commentedon Jan 21, 2020
This just happened to me on a public repo if it helps: wagtail/vagrant-wagtail-develop#24
This was the first time I used this feature (I’ve just installed the extension), I did notice the messaging announcing the change and offering to cancel, but thought I’d see what happens.
I can confirm that part 1. “First it copies the PR title to the PR commit title” (#2713 (comment)) didn’t work – the PR commit was using the default merge commit wording.
Amorymeltzer commentedon Jan 23, 2020
I think @thibaudcolas' report is sufficient, but FWIW I've been running into this same thing multiple times (one example: wikimedia-gadgets/twinkle#808). This is an awesome help, but simply clicking GH's merge button shouldn't default to something much less useful.
MathieuDerelle commentedon Jan 24, 2020
I've made a public repo just for it if that can help.
https://github.com/MathieuDerelle/refined-github-issue
(mode details in the closed (dupe) issue linked above)
jetersen commentedon Jan 28, 2020
jenkinsci/bom#180 was also affected
fregante commentedon Jan 28, 2020
I'll limit this feature to squashing commits.
fregante commentedon Jan 28, 2020
Fixed. At some point we'll publish a new release. Currently we're still waiting for the Chrome Web Store to publish the last update.