chore: improve default polling example in sample config
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I7c9f98fa7af229070c745a4672fcb78b6a6a6964
This commit is contained in:
parent
cfb114e529
commit
4f4f67dc6c
1 changed files with 9 additions and 3 deletions
|
|
@ -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' },
|
||||
// ],
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue