-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Will add/remove PR label thousands of times when using fail/pass in the same time #643
Comments
@zhongjiajie I believe this behavior is occurring because of you specified From your use case, I think if you remove |
Alternatively I think we should check if fetched set of label is the same as new set of label and only call |
Yeah, I think do some check before set label is necessary |
Thanks for your help ❤️ I will verify it, and will close it if we pass |
After I modify according to your advice, it work well and the bad behavior not occur anymore, thanks @shine2lay and I will close this issue |
Hi team, I have a question about my mergeable configuration.
In DolphinScheduler, we try to add
dependent
validate to test whether PR changes database DDL simultaneously, this test will add a comment and label when the validator can not fail, and remove the label once the validator passes again. You could see a more detailed configuration in https://github.com/apache/dolphinscheduler/pull/10638/files#diff-3fb64bc6b9fe11934106ee173470a523781e604cf938226f766e104e748e1a9f.usually, it works fine, but sometime the bot will get mad and keep trying to remove and delete the label that which maintainer add to PR, and it will do that a thousand times. I try to fix it by changing the config in apache/dolphinscheduler#7099 but it seems that it does not work, so I finally remove all label or comment actions in apache/dolphinscheduler#10638
You could see the add/delete label behavior in PR comment apache/dolphinscheduler#10638 (comment)
The text was updated successfully, but these errors were encountered: