Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/reusable-bot-comment-handler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ on:
type: boolean
default: false
bot_authors:
description: 'Comma-separated list of bot login names including [bot] suffix (default: copilot[bot],github-actions[bot],coderabbitai[bot])'
description: 'Comma-separated list of bot login names (default includes Copilot, github-actions, coderabbitai, chatgpt-codex-connector)'
Copy link

Copilot AI Dec 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description should clarify that the [bot] suffix is required for most bot login names (except where explicitly different). The current description states "default includes Copilot, github-actions, coderabbitai, chatgpt-codex-connector" but the actual default values include the [bot] suffix for most entries. This could be misleading for users who want to customize the bot_authors parameter.

Suggested change
description: 'Comma-separated list of bot login names (default includes Copilot, github-actions, coderabbitai, chatgpt-codex-connector)'
description: 'Comma-separated list of bot login names. Default: Copilot,copilot[bot],github-actions[bot],coderabbitai[bot],chatgpt-codex-connector[bot]. Note: most GitHub bot logins use the [bot] suffix.'

Copilot uses AI. Check for mistakes.
required: false
type: string
default: 'copilot[bot],github-actions[bot],coderabbitai[bot]'
default: 'Copilot,copilot[bot],github-actions[bot],coderabbitai[bot],chatgpt-codex-connector[bot]'
Copy link

Copilot AI Dec 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent naming convention: "Copilot" (without [bot] suffix) is included alongside "copilot[bot]". GitHub bot usernames typically use the [bot] suffix format. If "Copilot" is a valid bot username, including both variants may cause duplicate matching (though the case-insensitive comparison at line 173 would treat them as the same). Consider removing "Copilot" and keeping only "copilot[bot]" for consistency with the other bot names in the list, or verify if "Copilot" is a distinct bot username that needs to be included separately.

Suggested change
default: 'Copilot,copilot[bot],github-actions[bot],coderabbitai[bot],chatgpt-codex-connector[bot]'
default: 'copilot[bot],github-actions[bot],coderabbitai[bot],chatgpt-codex-connector[bot]'

Copilot uses AI. Check for mistakes.
Comment on lines +34 to +37
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Default bot list misses chatgpt-codex-connector

The new default value for bot_authors adds chatgpt-codex-connector[bot], but the collector does a case-insensitive exact login match without stripping the [bot] suffix. Our fixtures and keepalive tooling model the Codex connector user as chatgpt-codex-connector (e.g., tests/workflows/fixtures/keepalive/gate_trigger.json), so with the default input the workflow will still skip that bot’s review comments and never trigger the handler unless consumers override the list. Please include the actual login (chatgpt-codex-connector) in the default set.

Useful? React with 👍 / 👎.

skip_if_human_replied:
description: 'Skip comments where a human has already replied'
required: false
Expand Down
Loading