Skip to content

Commit 52e1826

Browse files
committed
Revert "github: temporarily route detain/sugarcraft + sugarcraft/* to notifications"
This reverts commit 633a7af.
1 parent 633a7af commit 52e1826

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

web/github.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,8 @@ function addUniversalRepoFields(array $whitelist): array
168168

169169
function pickRoom(string $repo): string
170170
{
171-
// TEMP: detain/sugarcraft + sugarcraft/* routed to `notifications` for
172-
// now (was `int-dev-announce`). Move back when the experiment is done.
173-
// Both sides of the upstream→downstream pair are kept in the same room
174-
// so the bot's action-triggered push attribution can still nest the
175-
// sugarcraft/* sync pushes under the detain/sugarcraft parent commit
176-
// (trackable storage is keyed by room).
177-
if (in_array($repo, ['detain/CandyCore', 'detain/scoop-emulators', 'detain/detain', 'detain/watchable', 'detain/php-dup-finder'], true)) {
171+
if (strpos($repo, 'sugarcraft/') === 0
172+
|| in_array($repo, ['detain/CandyCore', 'detain/scoop-emulators', 'detain/detain', 'detain/sugarcraft', 'detain/watchable', 'detain/php-dup-finder'], true)) {
178173
return 'int-dev-announce';
179174
}
180175
return 'notifications';

0 commit comments

Comments
 (0)