Skip to content

Firefly III: a personal finances manager

Enhance PR reply workflow to include github-actions check

James Cole1b8bb452c372
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"* &&