shink opened a new pull request, #4206:
URL: https://github.com/apache/incubator-inlong/pull/4206

   fix: #4205
   
   ### Motivation
   
   Fix error in the greeting workflow.
   
   > The `pull_request_target` event is similar to `pull_request`, except that 
it runs in the context of the base repository of the pull request, rather than 
in the merge commit. This means that you can more safely make your secrets 
available to the workflows triggered by the pull request, because only 
workflows defined in the commit on the base repository are run. For example, 
this event allows you to create workflows that label and comment on pull 
requests, based on the contents of the event payload.
   
   reference:
   
   - https://github.com/actions/first-interaction/issues/31
   - 
https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
   
   ### Modifications
   
   - replace `pull_request` with `pull_request_target`
   


-- 
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