chore: improve default polling example in sample config

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I7c9f98fa7af229070c745a4672fcb78b6a6a6964
This commit is contained in:
raf 2026-02-07 16:16:28 +03:00
commit 4f4f67dc6c
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

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