bito-code-review[bot] commented on PR #40387:
URL: https://github.com/apache/superset/pull/40387#issuecomment-4949308996

   <!-- Bito Reply -->
   The security concern regarding overly broad permissions is valid. In 
`.github/workflows/hold-label-ci-gate.yml`, the `actions: write` permission is 
granted at the workflow level, which allows the workflow to cancel and re-run 
any workflow in the repository. To follow the principle of least privilege, you 
should restrict these permissions to only what is necessary for the specific 
jobs.
   
   **.github/workflows/hold-label-ci-gate.yml**
   ```
   permissions:
     actions: write
     pull-requests: read
   ```


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