summaryrefslogtreecommitdiff
path: root/source/github-helpers/selectors.ts
diff options
context:
space:
mode:
Diffstat (limited to 'source/github-helpers/selectors.ts')
-rw-r--r--source/github-helpers/selectors.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/github-helpers/selectors.ts b/source/github-helpers/selectors.ts
index 24663e43..681339b3 100644
--- a/source/github-helpers/selectors.ts
+++ b/source/github-helpers/selectors.ts
@@ -27,3 +27,19 @@ export const directoryListingFileIcon_ = [
'https://github.com/refined-github/refined-github',
'https://github.com/refined-github/refined-github/tree/main/.github',
];
+
+export const prCommit = '.TimelineItem--condensed:has(.octicon-git-commit)';
+export const prCommit_ = [
+ 'https://github.com/refined-github/sandbox/pull/10',
+];
+
+// `summary` is needed because the details dropdown contains the list of check runs, each with its status icon
+export const prCommitStatusIcon = `:is(${prCommit}) details.commit-build-statuses summary .octicon`;
+export const prCommitStatusIcon_ = [
+ 'https://github.com/refined-github/sandbox/pull/10',
+];
+
+export const actionsTab = '#actions-tab';
+export const actionsTab_ = [
+ 'https://github.com/refined-github/sandbox',
+];