adonis0147 opened a new pull request, #26525:
URL: https://github.com/apache/doris/pull/26525

   ## Proposed changes
   
   Issue Number: close #xxx
   
   In the workflow `Code Checks`, we use the event `pull_request_target` which 
has write permission to enable the actions to comment on our PRs. We should be 
careful with the write permission and must forbid from running any user code. 
The previous PR #24761 tried its best to achieve this goal.
   However, there is a scenario lacking of consideration (See #26494). #26494 
attacks the workflow by git submodule way. This PR fixes this scenario by 
checkouting the external action explicitly in the workflow.
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to