Benjamin-Philip commented on PR #128: URL: https://github.com/apache/arrow-erlang/pull/128#issuecomment-6785273409
> It's a test that opens a PR from the same repository not a fork repository. This change will not work with a PR from a fork repository... The changes I've made are based on the [example](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#workflow_run) in the GitHub Actions docs and a [similar workflow](https://github.com/erlang/otp/blob/master/.github/workflows/pr-comment.yaml) in the Erlang/OTP repo. The repository difference becomes an issue if I used the `pull_request` trigger, which would have run in the context of the fork repository. However, `workflow_run` trigger runs in a privileged context [like `pull_request_target`](https://docs.github.com/en/enterprise-cloud@latest/actions/reference/security/secure-use#mitigating-the-risks-of-untrusted-code-checkout). If you still want to test, I could make a PR against your fork. -- 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]
