Enhance PR reply workflow to include github-actions check

Added check for 'github-actions' author to prevent processing.

Signed-off-by: James Cole <james@firefly-iii.org>
This commit is contained in:
James Cole
2026-07-03 05:48:05 +02:00
committed by GitHub
parent a95b82b14c
commit 1b8bb452c3
+7 -2
View File
@@ -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"* &&