Skip to content

Hide status filter for PR list if there are no checks #2127

Closed

Description

@notlmn

From #2114 (comment).

Part of filter-pr-by-build-status feature, if the repository doesn't have any checks then there is no need to create and add the filter dropdown.

Activity

  1. fregante commented on Jun 7, 2019

    @fregante
    Member

    We could piggyback on ci-link to see if CI is enabled on the repo. ci-link could probably export a promise that filter-pr-by-build-status can listen to

  2. hardikmodha commented on Jun 7, 2019

    @hardikmodha
    Contributor

    Can we just export fetchStatus function with a better name (Maybe fetchCIStatus) and use that? It's already wrapped with onetime so it won't be called again.

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