Refined-github: Hide status filter for PR list if there are no checks

Created on 7 Jun 2019  路  2Comments  路  Source: sindresorhus/refined-github

From https://github.com/sindresorhus/refined-github/pull/2114#issuecomment-499763367.

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.

enhancement help wanted

All 2 comments

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pawelad picture pawelad  路  3Comments

hkdobrev picture hkdobrev  路  3Comments

durka picture durka  路  3Comments

mareksuscak picture mareksuscak  路  3Comments

shivapoudel picture shivapoudel  路  3Comments