kou commented on code in PR #128:
URL: https://github.com/apache/arrow-erlang/pull/128#discussion_r4763871179
##########
.github/workflows/docs.yml:
##########
@@ -95,6 +95,40 @@ jobs:
with:
artifact_name: docs-${{ github.sha }}
+ generate_preview_message:
+ name: Generate Preview Message on fork
Review Comment:
Sorry, my comment wasn't clear. It's not about the job name.
Yes, this job runs in apache/arrow-erlang. But for pull_request, the
workflow definition comes from the PR's merge commit. So a PR author can change
docs.yml in their PR, and this job then uploads any PR number and body they
want. pr_comment.yml uses them with write permission, so a malicious PR can
post any comment to any issue/PR in apache/arrow-erlang.
--
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]