Update existing MR note
Problem to solve
As an engineer who uses glab in a stateless CI/CD job, I want the option to check if that same job already posted a note, and to decide whether to update it or remove it.
Proposal
I will leave a possible solution to more experienced engineers. But here are a couple of examples for inspiration:
- Infracost: https://github.com/infracost/infracost/blob/master/cmd/infracost/comment_gitlab.go (behavior option)
- Danger: https://github.com/danger/danger-js/blob/main/source/platforms/gitlab/GitLabAPI.ts#L181