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' }, // ], }, };