summaryrefslogtreecommitdiff
path: root/source/features
diff options
context:
space:
mode:
Diffstat (limited to 'source/features')
-rw-r--r--source/features/wait-for-build.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/wait-for-build.tsx b/source/features/wait-for-build.tsx
index 825e1f54..708e4882 100644
--- a/source/features/wait-for-build.tsx
+++ b/source/features/wait-for-build.tsx
@@ -100,8 +100,8 @@ function init(): void {
void features.add(__filebasename, {
asLongAs: [
- // The user cannot merge
- () => select.exists('[data-details-container=".js-merge-pr"]:not(:disabled)'),
+ // The user is a maintainer, so they can probably merge the PR
+ () => select.exists('.discussion-sidebar-item .octicon-lock'),
],
include: [
pageDetect.isPRConversation,