From 346485b0c8f11c328cf1cae9e794bbb99e89b4fc Mon Sep 17 00:00:00 2001 From: Petrus Pennanen Date: Sat, 4 Jul 2026 18:03:40 +0200 Subject: [PATCH] feat(actions): allow ThinkOffApp/CodeWatch in the merge_pr button allowlist petrus wants CodeWatch approval buttons for everything; the CodeWatch repo was missing from ACTION_REPOS (daemon) and the client mirror, so merge cards for it were rejected. 15/15 confirmations tests pass. Co-Authored-By: Claude Opus 4.8 --- scripts/action-request.mjs | 2 +- src/confirmations.mjs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/action-request.mjs b/scripts/action-request.mjs index 881d743..2123b13 100644 --- a/scripts/action-request.mjs +++ b/scripts/action-request.mjs @@ -41,7 +41,7 @@ const REGISTRY = { merge_pr: { risk: 'medium', build(o) { - const ALLOWED = ['ThinkOffApp/antfarm', 'ThinkOffApp/xfor', 'ThinkOffApp/codewatch-site']; + const ALLOWED = ['ThinkOffApp/antfarm', 'ThinkOffApp/xfor', 'ThinkOffApp/codewatch-site', 'ThinkOffApp/CodeWatch']; const repo = o.repo; const pr = Number(o.pr); const base = o.base || 'main'; diff --git a/src/confirmations.mjs b/src/confirmations.mjs index 9806aa8..add0f02 100644 --- a/src/confirmations.mjs +++ b/src/confirmations.mjs @@ -34,6 +34,7 @@ const ACTION_REPOS = new Set([ 'ThinkOffApp/antfarm', 'ThinkOffApp/xfor', 'ThinkOffApp/codewatch-site', + 'ThinkOffApp/CodeWatch', ]); const TERMINAL_ACTION_STATUSES = new Set(['merged', 'failed', 'denied', 'expired']);