From 1b8bb452c3720da6f3d9f5faca526e763e53fcde Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 3 Jul 2026 05:48:05 +0200 Subject: [PATCH] Enhance PR reply workflow to include github-actions check Added check for 'github-actions' author to prevent processing. Signed-off-by: James Cole --- .github/workflows/pr-reply-no-disclosure.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-reply-no-disclosure.yml b/.github/workflows/pr-reply-no-disclosure.yml index 825022e0c2..bd23487864 100644 --- a/.github/workflows/pr-reply-no-disclosure.yml +++ b/.github/workflows/pr-reply-no-disclosure.yml @@ -19,13 +19,18 @@ jobs: - run: | BODY=$(gh pr view $NUMBER --json body) AUTHOR=$(gh pr view $NUMBER --json author) - + if [[ $AUTHOR == *"app/dependabot"* ]]; then echo "Is dependabot, stop" exit 0 fi - echo "Not dependabot!" + if [[ $AUTHOR == *"github-actions"* ]]; then + echo "Is github-actions, stop" + exit 0 + fi + + echo "Not dependabot: $AUTHOR" # $BODY must contain one of these four uses. if [[ $BODY != *"Code generation"* &&