Skip to content

Commit 2a8bc94

Browse files
authored
Add unwrap-useless-dropdowns feature (#3050)
1 parent d44217b commit 2a8bc94

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

source/index.ts

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,7 @@ export const _isCommit = [
2727
];
2828

2929
export const isCommitList = (): boolean => isRepoCommitList() || isPRCommitList();
30-
export const _isCommitList = [
31-
'https://github.com/sindresorhus/refined-github/commits/master?page=2',
32-
'https://github.com/sindresorhus/refined-github/commits/test-branch',
33-
'https://github.com/sindresorhus/refined-github/commits/0.13.0',
34-
'https://github.com/sindresorhus/refined-github/commits/230c2',
35-
'https://github.com/sindresorhus/refined-github/commits/230c2935fc5aea9a681174ddbeba6255ca040d63',
36-
'https://github.com/sindresorhus/refined-github/pull/148/commits',
37-
'https://github.com/sindresorhus/refined-github/commits?author=fregante'
38-
];
30+
export const _isCommitList = skip;
3931

4032
export const isRepoCommitList = (): boolean => String(getRepoPath()).startsWith('commits');
4133
export const _isRepoCommitList = [
@@ -44,7 +36,8 @@ export const _isRepoCommitList = [
4436
'https://github.com/sindresorhus/refined-github/commits/0.13.0',
4537
'https://github.com/sindresorhus/refined-github/commits/230c2',
4638
'https://github.com/sindresorhus/refined-github/commits/230c2935fc5aea9a681174ddbeba6255ca040d63',
47-
'https://github.com/sindresorhus/refined-github/commits?author=fregante'
39+
'https://github.com/sindresorhus/refined-github/commits?author=fregante',
40+
'https://github.com/sindresorhus/runs/commits/'
4841
];
4942

5043
export const isCompare = (): boolean => String(getRepoPath()).startsWith('compare');
@@ -410,3 +403,9 @@ export const _isActionPage = [
410403
'https://github.com/marketplace/actions/github-action-for-assignee-to-reviewer',
411404
'https://github.com/marketplace/actions/hugo-actions'
412405
];
406+
407+
export const isActionJobRun = (): boolean => String(getRepoPath()).startsWith('runs/');
408+
export const _isActionJobRun = [
409+
'https://github.com/sindresorhus/refined-github/runs/639481849'
410+
];
411+

0 commit comments

Comments
 (0)