From db11cbfbd57667ade51f65aa3bbec4bb7c5f8be7 Mon Sep 17 00:00:00 2001 From: Ilya Shatalov Date: Tue, 12 May 2026 00:06:15 +0200 Subject: [PATCH] Treat dl-bot-integrations as a bot author --- .github/workflows/ai-gatekeeper.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ai-gatekeeper.yaml b/.github/workflows/ai-gatekeeper.yaml index 72dc935..b0f485a 100644 --- a/.github/workflows/ai-gatekeeper.yaml +++ b/.github/workflows/ai-gatekeeper.yaml @@ -48,18 +48,19 @@ jobs: HEAD_SHA=$(echo "$PR_DATA" | jq -r '.headRefOid') echo "head_sha=$HEAD_SHA" >> "$GITHUB_OUTPUT" - # 2. Only enforce when Devin is the PR author + # 2. Only enforce when a known bot is the PR author IS_BOT_AUTHOR=$( echo "$PR_DATA" | jq ' (.author.login | endswith("[bot]")) or (.author.login == "app/devin-ai-integration") + or (.author.login == "dl-bot-integrations") or (.author.is_bot == true) ' ) if [ "$IS_BOT_AUTHOR" != "true" ]; then echo "conclusion=success" >> "$GITHUB_OUTPUT" - printf 'summary=%s\n' "Not a Devin-authored PR. Skipping human-review enforcement." >> "$GITHUB_OUTPUT" + printf 'summary=%s\n' "Not a bot-authored PR. Skipping human-review enforcement." >> "$GITHUB_OUTPUT" echo "details=" >> "$GITHUB_OUTPUT" echo "is_bot=false" >> "$GITHUB_OUTPUT" echo "docs_only=false" >> "$GITHUB_OUTPUT"