From b6adfa7cc9ae1d52c2864bd384e4ad595e188f62 Mon Sep 17 00:00:00 2001 From: nabeen Date: Mon, 31 Aug 2026 16:32:49 +0900 Subject: [PATCH] feat: add devin-ai-integration[bot] to BOTS_TO_IGNORE --- README.md | 6 +++--- src/is-bot-comment.js | 1 + tests/index.test.js | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0210ba8..551aebf 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Tasks that contain "OPTIONAL" in all caps are also skipped unless checked, they ## Bots -Checkboxes added by PR bots are automatically excluded from the task list guard. Bots currently excluded: `linear`, `coderabbitai` +Checkboxes added by PR bots are automatically excluded from the task list guard. Bots currently excluded: `linear`, `coderabbitai`, `devin-ai-integration` ## Contributing / Development @@ -123,7 +123,7 @@ npm install --omit=dev npm start ``` -Instead of `npm start`, typically in production you'll use a [service file to run via systemd](https://www.freedesktop.org/software/systemd/man/latest/systemd.syntax.html) or similar. +Instead of `npm start`, typically in production you'll use a [service file to run via systemd](https://www.freedesktop.org/software/systemd/man/latest/systemd.syntax.html) or similar. e.g. ```systemd [Service] @@ -148,7 +148,7 @@ Hosted check is on DO's [SFO3](https://www.digitalocean.com/blog/introducing-a-n If you discover a security issue please email it to myself at andrew@stapps.io and I will get back to you asap. For all other issues or help you can create an issue on this project - Thank you. -## Credits +## Credits - [Probot](https://github.com/probot/probot) - Used to build this project - [WIP](https://github.com/wip/app) - Inspiration for this project diff --git a/src/is-bot-comment.js b/src/is-bot-comment.js index 76a7b1e..88e1fb4 100644 --- a/src/is-bot-comment.js +++ b/src/is-bot-comment.js @@ -2,6 +2,7 @@ const BOTS_TO_IGNORE = new Set([ 'linear', // ref https://github.com/stilliard/github-task-list-completed/issues/33 'linear[bot]', 'coderabbitai[bot]', + 'devin-ai-integration[bot]', ]); module.exports = (comment) => { diff --git a/tests/index.test.js b/tests/index.test.js index 7d1ee7a..c58bc41 100644 --- a/tests/index.test.js +++ b/tests/index.test.js @@ -121,6 +121,7 @@ describe('ignores bot checkbox comments across all comment types', () => { 'linear', 'linear[bot]', 'coderabbitai[bot]', + 'devin-ai-integration[bot]', ])('ignores checkbox comments from %s', async (botLogin) => { const botComment = { user: { login: botLogin }, body: '- [ ] bot task' }; // Should not be a blocking task let capturedTitle;