-
-
Notifications
You must be signed in to change notification settings - Fork 534
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
Summary comment must be resolved by a hand before pull request could be merged. #106
Comments
This sounds like a feature request rather than a bug: you've enabled decoration, but your current pipeline then prevents decorated MRs from being auto-merged. I presume you're asking for the summary comment to posted in another way? |
I guess it's similar to #97 |
If it is possible then yes. But current solution is nice as well except the case when there are no issues. |
Gitlab provides 2 endpoints - discussions and notes: Now we use discussions. I think we can try notes. Probably it will be enough to fix both issues. Also I see some as I think useful flags: |
Let's sum up all of this. I guess it's all should work like checks on github - if check is failed - it prevents merge, and if passed then no matter what the check may write in comments (e.g codecov) it doesn't prevent merge. |
Yes. We need to solve 2 requirements by picking options from gitlab api for the case when no issues found:
By the way
This doesn't mean that there are no issues. I think code reviewer should decide in this case, i.e. summary comment better not to be resolved from my point of view. Also I think discussion is not an option because I don't know what I should discuss under summary comment. |
From my point of view, it makes sense to use Discussion API for issues and Notes API for summary. Which is probably what you thought, right? |
The fix for the problem is in the #126. |
…equest could be merged.
Change #226 will auto resolve the discussion if quality gates passes |
Summary comment must be resolved by a hand before pull request could be merged. So now pull request decoration at least in gitlab negatively affects a merge process when pull request couldn't be merged automatically after successful completion of a pipeline.
Steps to reproduce the behavior:
Expected behavior
Pull request should be automatically merged.
Screenshots
Software Versions
Suggestion
I think that it will be good to resolve summary comment thread automatically if there are no issues found.
The text was updated successfully, but these errors were encountered: