pr-check: Restrict to comments made by flathubbot or github-actions

This commit is contained in:
bbhtt
2025-12-24 17:59:48 +05:30
parent 4f8fddfbb6
commit e0ed11e0e0
+1 -1
View File
@@ -94,7 +94,7 @@ jobs:
echo "EXIT_CODE is $EXIT_CODE"
unset "$PR_TITLE"
PR_COMMENTS="$(gh pr view "$PR_NUM" --json comments -q '.comments[].body')"
PR_COMMENTS="$(gh pr view "$PR_NUM" --json comments -q '.comments[] | select(.author.login == "flathubbot" or .author.login == "github-actions") | .body')"
PR_LABELS="$(gh pr view "$PR_NUM" --json labels -q '.labels[].name')"