[BUG] Can't skip Found no issues or messages from Danger. Removing any existing messages on Gitlab.
#1330
Labels
Found no issues or messages from Danger. Removing any existing messages on Gitlab.
#1330
Describe the bug
Current setup
We are running code reviews at a scale. Single repository with Danger job running. The job is triggered through a webhook on merge requests create/update and etc across the whole organisation.
Hope the diagrams express/explain it clearly.
To speed up our review, and do not waist time if review was already given, our danger file looks like this
skipReview
function does quick checks, they not relevant to a current problem. We are running code reviews at a scale. Basically there are rules to decide where or not to run a code review checkThe issue is here
Basically when we skip a review, there are no messages, and previous comment is deleted.
Found no issues or messages from Danger. Removing any existing messages on Gitlab.
I understand a behaviour. Would it be possible to add an extra flag e.g.
skipCommentDeleetion
,reuseCurrentComment
or something along this lines?How its currently solved
Two jobs running. First check whether or not we should skip a review, and next job commence a review.
Would be nice to have a way to skip a removal too, probably even from within a danger at runtime
To Reproduce
Can provide some information on requeset. Gitlab and Gitlab CI access is required.
Expected behavior
Command
danger ci
does not remove previous Danger comments if there are no issues or messages.Screenshots
Architecture
Your Environment
Additional context
If there is a benefit, happy to create a documentation on hove to bake
Danger+Gitlab+WebHooks
at scale when issue resolvedThe text was updated successfully, but these errors were encountered: