Skip to content

highlight-non-default-base-branch Should exclude branch master #3910

Closed

Description

Activity

  1. fregante commented on Jan 24, 2021

    @fregante
    Member

    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.

  2. fregante commented on Jan 24, 2021

    @fregante
    Member

    This also applies to clean-conversation-headers

  3. yakov116 commented on Jan 24, 2021

    @yakov116
    MemberAuthor

    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

  4. fregante commented on Jan 24, 2021

    @fregante
    Member

    Rather than deleted branches I’d do that for “closed PRs”

  5. yakov116 commented on Jan 29, 2021

    @yakov116
    MemberAuthor

    Rather than deleted branches I’d do that for “closed PRs”

    Merged too? or only closed?

  6. fregante commented on Jan 29, 2021

    @fregante
    Member

    Merged and closed

  7. yakov116 commented on Jan 29, 2021

    @yakov116
    MemberAuthor

    I tried looking for a simple CSS selector to include only open PR's and could not find one. Can you give a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions