Kaixuan-Duan commented on PR #28182:
URL: https://github.com/apache/flink/pull/28182#issuecomment-4487607738

   Hi @Au-Miner , thanks for the reviews! I've removed the unnecessary actions: 
write permission. The remaining issues: write and pull-requests: write are 
required for creating repository-level labels and adding/removing labels on PRs 
respectively. 
[docs](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#permissions)
   Note: PR labels are technically managed via the Issues API, but 
pull-requests: write is explicitly documented as permitting "an action to add a 
label to a pull request." We keep both for clarity and least privilege.


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