hello-stephen opened a new pull request, #63495:
URL: https://github.com/apache/doris/pull/63495

   ## Problem
   
   The `license-eyes.yml` workflow uses `pull_request_target` and checks out 
the fork's HEAD without `persist-credentials: false`. This means the 
`GITHUB_TOKEN` (which has write permissions in `pull_request_target` context) 
remains configured in `.git/config`, accessible to any code running after the 
checkout step.
   
   ## Fix
   
   Add `persist-credentials: false` to the `pull_request_target` checkout step 
so the token is not persisted to disk.
   
   Backport of #63486.


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