dependent-issues icon indicating copy to clipboard operation
dependent-issues copied to clipboard

duplicated comments

Open JuliaMathias opened this issue 2 years ago • 5 comments

Hi, I just added this workflow to a repo and for some reason it's commenting twice on each issue? Here's an example and here's another

JuliaMathias avatar Mar 18 '22 00:03 JuliaMathias

That shouldn't be the case. Probably a bug. I will try to investigate this over the weekend.

z0al avatar Mar 18 '22 04:03 z0al

Of course, feel free to take a look if you have free time.

z0al avatar Mar 18 '22 05:03 z0al

thank you! I'm not super experienced with github actions yet but I'll also try to have a look tonight or over the weekend.

JuliaMathias avatar Mar 18 '22 16:03 JuliaMathias

@z0al just wanted to let u know that this bug still persists. I had this a few days back but i accidentally deleted the PR and also cant find the logs. I'll try to reproduce this again.

Had this bug as well, seems like an issue with writeComment.

Maybe this if clause isn't firing properly?

How about adding an if clause in writeComment to check whether or not the action bot has written a comment in the issue or not yet?

johncardiologs avatar Feb 09 '23 20:02 johncardiologs