Skip to content

Commit 879e283

Browse files
authored
Apply features to Milestone issue lists (#2793)
1 parent 5d8f2b9 commit 879e283

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,14 +257,15 @@ export const _isRepoSkipNegatives = true;
257257
export const isRepoDiscussionList = (): boolean =>
258258
isRepoPRList() ||
259259
isRepoIssueList() ||
260-
/^labels\/.+/.test(getRepoPath()!);
260+
/^(labels|milestones)\/.+/.test(getRepoPath()!);
261261
export const _isRepoDiscussionList = [
262262
'http://github.com/sindresorhus/ava/issues',
263263
'https://github.com/sindresorhus/refined-github/pulls',
264264
'https://github.com/sindresorhus/refined-github/pulls/',
265265
'https://github.com/sindresorhus/refined-github/pulls/fregante',
266266
'https://github.com/sindresorhus/refined-github/issues/fregante',
267267
'https://github.com/sindresorhus/refined-github/labels/Priority%3A%20critical',
268+
'https://github.com/sindresorhus/refined-github/milestones/1.0',
268269
'https://github.com/sindresorhus/refined-github/issues?q=is%3Aclosed+sort%3Aupdated-desc',
269270
'https://github.com/sindresorhus/refined-github/pulls?q=is%3Aopen+is%3Apr',
270271
'https://github.com/sindresorhus/refined-github/pulls?q=is%3Apr+is%3Aclosed',

0 commit comments

Comments
 (0)