Fix duplicate issue creation
What does this MR do and why?
Fixes duplicate issue creation when failure issue has already been commented on in the pipeline run. Also fixes specs.
Introduced by a recent update: https://gitlab.com/gitlab-org/gitlab-qa/-/merge_requests/1151 which returned false when the issue was already commented on, causing create_issue
to run.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by George Koltsov