Skip to content
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] Bot creating duplicate "branch created" comments #64

Open
idahogurl opened this issue Sep 8, 2022 · 0 comments
Open

[BUG] Bot creating duplicate "branch created" comments #64

idahogurl opened this issue Sep 8, 2022 · 0 comments

Comments

@idahogurl
Copy link
Owner

idahogurl commented Sep 8, 2022

See idahogurl/vs-code-prettier-eslint#36 (comment)

Since it's a hyperlink anyone can click even after the issue is closed or the branch is already created. It shouldn't be creating the branch again or making a new comment. Proposed fix:

  • If the issue is closed then it shouldn't do anything. Can't think of a use case where you'd be wanting a branch for a closed issue.. Should update the documentation saying branch will not be created on Closed issues.

  • If the comment already exists don't create a new comment or a new branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant