Skip to main content

Overview

When Devin is tracking a pull request, it monitors incoming comments and responds to them automatically. By default, Devin ignores comments from bot users (such as github-actions[bot], dependabot[bot], or code review bots) to prevent infinite feedback loops. The Responding to bots setting lets you control this behavior so Devin can automatically respond to comments from bots you trust. This is an organization-level setting that applies to all Devin sessions within your org.

Where to find it

Navigate to Settings > Devin > Pull requests > Responding to bots.
Only organization admins can modify this setting.

Available modes

No bots (default)

Devin ignores all comments from bot users on PRs. This is the safest option and prevents any risk of infinite loops between Devin and other automated tools.

All bots

Devin treats bot comments exactly like human comments and processes all of them.
This mode may cause infinite loops with automated code review bots. For example, if a code review bot comments on Devin’s PR, Devin responds with a code change, and the bot comments again, the cycle can repeat indefinitely. Use this mode only if you are confident your bots will not create feedback loops.

Selected only

You provide an allowlist of bot usernames that Devin should respond to. Devin processes comments from those bots and ignores all others. This is the recommended option for most teams because it gives you precise control. To add a bot to the allowlist:
  1. Select Selected only from the dropdown.
  2. Enter the bot’s GitHub username in the input field (e.g., github-actions[bot]).
  3. Click Add.
Bot usernames typically end in [bot]. You can find a bot’s username by looking at who authored the comment on your pull request. To remove a bot, click the × button next to its name in the allowlist.
Bot username matching is case-insensitive, so GitHub-Actions[bot] and github-actions[bot] are treated the same.

How it works at runtime

When a bot leaves a comment on a PR that Devin is tracking, Devin checks your organization’s bot comment settings:
  1. Mode is “none” — the comment is ignored.
  2. Mode is “allowlist” — the bot’s username is checked against your allowlist. If it matches, Devin processes the comment. Otherwise, it is ignored.
  3. Mode is “all” — the comment is processed.
If the comment passes the bot filter, it still goes through Devin’s other comment processing checks (such as the comment monitoring checkbox on the PR). It is exempt from the mention-only setting.
Lint failure comments from bots (containing “lint check failed”) are always processed regardless of this setting, so Devin can always respond to CI failures.

Common use cases

  • CI bots: Allow your CI bot so Devin can automatically fix lint errors, test failures, or build issues flagged by your pipeline.
  • Security scanners: Allow your security scanning bot so Devin can address vulnerability reports directly.
  • Code quality tools: Allow bots like SonarQube or Codacy so Devin can respond to code quality feedback.

Interaction with Devin Review

Devin Review posts comments on PRs as devin-ai-integration[bot]. Because this is a bot account, its comments are subject to your bot comment settings. Under the default mode (“No bots”), Devin sessions will not automatically act on findings from Devin Review. If you want Devin to automatically address issues flagged by Devin Review, either:
  • Set the mode to “Selected only” and add devin-ai-integration[bot] to the allowlist.
  • Set the mode to “All bots”.
Devin Review’s “No Issues Found” summary comments are always ignored regardless of this setting — only comments that report actual findings are affected.

Interaction with mention-only mode

The bot comment filter runs first. If a bot comment passes it (mode “all”, or mode “allowlist” with a matching username), the comment is processed even when the “Require @Devin to respond” setting is enabled — approved bots do not need to mention Devin. Mention-only still applies to comments from human users, and to bot comments that the bot filter rejects.

Tips

  • Start with “Selected only” and add bots one at a time. This lets you verify that each bot interacts well with Devin before adding more.
  • If you notice unexpected loops, switch back to “No bots” to stop them immediately.
  • A commenter is treated as a bot when its GitHub user type is Bot or its username ends in [bot], so GitHub App bots such as github-actions[bot] are recognized even when the webhook payload omits the user type.