bito-code-review[bot] commented on PR #43681:
URL: https://github.com/apache/superset/pull/43681#issuecomment-5462611373
<!-- Bito Reply -->
Yes, adding `labeled` to the `on` trigger is a standard way to ensure the
workflow re-evaluates when a label is added to a pull request. Since the
current workflow only triggers on `opened` and `synchronize`, it will not
automatically run when a label is applied after the PR is created. Updating the
trigger to include `labeled` will allow the workflow to check the labels and
proceed with the auto-approval if the 'patch' label is present.
**.github/workflows/dependabot-auto-approve.yml**
```
on:
pull_request:
types: [opened, synchronize, labeled]
```
--
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]