From 4f4f67dc6c702a9c0516512939b510c0857574d4 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sat, 7 Feb 2026 16:16:28 +0300 Subject: [PATCH] chore: improve default polling example in sample config Signed-off-by: NotAShelf Change-Id: I7c9f98fa7af229070c745a4672fcb78b6a6a6964 --- config.example.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/config.example.ts b/config.example.ts index a195e45..d2a133d 100644 --- a/config.example.ts +++ b/config.example.ts @@ -122,11 +122,17 @@ const config: Config = { // Authorized users: Only these users can trigger on-demand analysis via @troutbot mentions // Leave empty to allow all users (not recommended for public repos) // authorizedUsers: ['trusted-user-1', 'trusted-user-2'], - // Polling-specific repositories: Override global repositories list for polling only - // If set, only these repos will be polled for @troutbot mentions - // Unauthorized repos will get a thumbsdown reaction and be ignored + // Polling-specific repository patterns: Control which repos to poll for @troutbot mentions + // Supports wildcards to match multiple repos + // If empty/undefined: poll all repositories the bot can access // repositories: [ + // // Single repo // { owner: 'myorg', repo: 'myrepo' }, + // // All repos under an owner/organization + // { owner: 'myorg', repo: '*' }, + // // Multiple specific repos + // { owner: 'owner1', repo: 'repo1' }, + // { owner: 'owner2', repo: 'repo2' }, // ], }, };