diff --git a/config.example.ts b/config.example.ts index 28f5bb8..513c8bc 100644 --- a/config.example.ts +++ b/config.example.ts @@ -15,9 +15,11 @@ const config: Config = { include: [], exclude: ['bot-ignore'], }, + authors: { exclude: ['dependabot', 'renovate[bot]'], }, + branches: { include: [], // empty = all branches }, @@ -62,7 +64,9 @@ const config: Config = { includeReasoning: true, // One message is picked at random from the list matching the impact. - // Placeholders: {type} (issue/pull request), {impact} (positive/negative/neutral) + // Placeholders: + // - {type} (issue/pull request), + // - {impact} (positive/negative/neutral) messages: { positive: [ 'This {type} looks great for the trout! All signals point upstream.', @@ -89,6 +93,14 @@ const config: Config = { level: 'info', file: 'troutbot.log', }, + + // Polling mode: Watch for @troutbot mentions without webhooks. + // Useful for monitoring multiple repos without needing webhook configuration. + polling: { + enabled: false, + intervalMinutes: 5, // how often to check for new comments + lookbackMinutes: 10, // how far back to look for comments on each poll + }, }; export default config;