Skip to content

Commit 6f4b7a6

Browse files
loilofregante
andauthored
Add show-open-prs-of-forks feature (#2880)
Co-authored-by: Federico Brigante <opensource@bfred.it>
1 parent 84af41b commit 6f4b7a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,9 @@ export const _isFileFinder = [
351351
'https://github.com/sindresorhus/refined-github/find/master'
352352
];
353353

354+
export const isForkedRepo = (): boolean => select.exists('meta[name="octolytics-dimension-repository_is_fork"][content="true"]');
355+
export const _isForkedRepo = domBased;
356+
354357
export const isSingleGist = (): boolean => isGist() && /^\/(gist\/)?[^/]+\/[\da-f]{32}$/.test(location.pathname);
355358
export const _isSingleGist = [
356359
'https://gist.github.com/sindresorhus/0ea3c2845718a0a0f0beb579ff14f064'

0 commit comments

Comments
 (0)