mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 17:28:57 +00:00
pr-check: Restrict to comments made by flathubbot or github-actions
This commit is contained in:
@@ -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')"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user