raulcd commented on code in PR #50486:
URL: https://github.com/apache/arrow/pull/50486#discussion_r3569225306


##########
.github/workflows/pr_review_trigger.yml:
##########
@@ -26,6 +26,7 @@ jobs:
   # workflow. We trigger a new workflow run which will have permissions to add 
labels.
   label-when-reviewed:
     name: "Label PRs when reviewed"
+    if: github.event.review.user.type != 'Bot'

Review Comment:
   The if check is run on the job as part of the workflow but from my 
understanding for the if to be checked the workflow has to run. I think the 
approval is for the workflow to even start so this check won't be performed. 
Again, this is based on my existence knowledge on how this works but I might be 
mistaken. This should be testable on a fork with copilot enabled.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to