gitlab-merge-request-resource icon indicating copy to clipboard operation
gitlab-merge-request-resource copied to clipboard

Success Builds Do Not Remove Failed Build Labels

Open ChrisJBurns opened this issue 1 year ago • 0 comments

If we have a build that has a MR notify Gitlab it's failed on it's pipeline and we sent a label to the Gitlab MR that it has failed. We get the failed label show up fine.

But when we re-run the pipeline with a fix, which then has the pipeline succeed, the labels that indicate that the MR has passed build are added to the MR, but the failed label still persists on the MR. Is there a way of overriding current specific labels? We don't want to completely delete them all because of the fact we have other labels on the MR indicating the type of MR it is. But a feature where we could reset specific labels when a PR re-runs would be great.

ChrisJBurns avatar Jun 07 '23 19:06 ChrisJBurns