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
highlight-non-default-base-branch Should exclude branch master #3910
Some repositories use something other than master as their default branch (e.g. dev) and have treated master as a "production" branch, so PRs pointing to master don't necessarily match the current situation ("this PR was merged into the default branch at the time").
Given that we do not have a history of default branches to properly address this issue, perhaps we can hide master if the default branch is main, so we cover this use-case exactly.
Activity
fregante commentedon Jan 24, 2021
Some repositories use something other than
masteras their default branch (e.g.dev) and have treatedmasteras a "production" branch, so PRs pointing tomasterdon't necessarily match the current situation ("this PR was merged into the default branch at the time").Given that we do not have a history of default branches to properly address this issue, perhaps we can hide
masterif the default branch ismain, so we cover this use-case exactly.fregante commentedon Jan 24, 2021
This also applies to
clean-conversation-headersyakov116 commentedon Jan 24, 2021
Also keep in mind this should only happen on deleted branches. Since if the branch was changed the PR branch (if it was open) would also change
fregante commentedon Jan 24, 2021
Rather than deleted branches I’d do that for “closed PRs”
yakov116 commentedon Jan 29, 2021
Merged too? or only closed?
fregante commentedon Jan 29, 2021
Merged and closed
yakov116 commentedon Jan 29, 2021
I tried looking for a simple CSS selector to include only open PR's and could not find one. Can you give a look?