From adf4b56f28946e39a8dc59eb9045ece26c5dac3e Mon Sep 17 00:00:00 2001 From: "lia-by-librechat[bot]" <328778573+lia-by-librechat[bot]@users.noreply.github.com> Date: Fri, 13 Nov 2026 11:43:24 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=B5=20ci:=20Allow=20Trusted=20Bots=20t?= =?UTF-8?q?o=20Request=20Quality=20Checks=20(#18119)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lia --- .github/workflows/change-quality.yml | 2 +- scripts/quality/comment.mts | 32 +++++---- scripts/quality/comment.test.mts | 104 ++++++++++++++++++++++++++- scripts/quality/workflow.test.mts | 13 ++++ 4 files changed, 137 insertions(+), 14 deletions(-) diff --git a/.github/workflows/change-quality.yml b/.github/workflows/change-quality.yml index 0f568d1f8d..d67762cc17 100644 --- a/.github/workflows/change-quality.yml +++ b/.github/workflows/change-quality.yml @@ -78,7 +78,7 @@ jobs: queue: max if: >- github.event_name == 'issue_comment' && github.event.issue.pull_request && - startsWith(github.event.comment.body, '/quality') && github.event.comment.user.type != 'Bot' + startsWith(github.event.comment.body, '/quality') runs-on: ubuntu-latest timeout-minutes: 5 permissions: diff --git a/scripts/quality/comment.mts b/scripts/quality/comment.mts index 1494519d53..3739c94969 100644 --- a/scripts/quality/comment.mts +++ b/scripts/quality/comment.mts @@ -7,6 +7,8 @@ import { reportSelection } from './changes.mts'; export const GATE = 'Quality decision'; const PREFIX = '