-
Notifications
You must be signed in to change notification settings - Fork 208
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
Bug: Instead of removing the label from the PR, it deletes the label from the repo entirely #80
Comments
Ah, yes, that's a bug, unfortunately, but there's no solution yet. See #56 for more information! |
Hi @pascalgn I also see this issue. I'm thinking using from octokit docment, https://octokit.github.io/rest.js/v17#issues-remove-label |
wow, that's embarrassing! 😄 Yes, of course, we should use removeLabel, not really sure why we implemented this with deleteLabel. If you want, you can create a PR for it, otherwise I will fix it today or tomorrow! 👍 |
Thanks for your response, I can wait your fix 😆 |
OK, this should be fixed now! Thanks a lot for the hint about the wrong method! 😄 👍 |
Nice fix 👍 |
I think this is fixed now. However, feel free to reopen this or create a new issue if you disagree or if there are any other problems! 👍 |
I have
MERGE_REMOVE_LABELS
set to configure the bot to remove theautomerge
label from the PR after merging it. This it does successfully, but not by removing the label from the PR. Instead, it deletes the label from the workspace entirely, so I have to create a new label every single time I want to auto merge a PR. Also, I can't have two automerged queued because the label will get deleted when the first is merged.Here's my entire config:
The text was updated successfully, but these errors were encountered: