Danger bot does not check branch name when commenting

Steps to reproduce

  • create a new merge request and skip / cancel the pipeline
  • create a new branch from the same commit

Example Project

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/32386#note_213367426

This comment came from https://gitlab.com/gitlab-org/gitlab-ce/pipelines/80648508 which actually ran on winh-vue-resource-markdown-field and not prakash_Chokalingam:61385-replace-vue-res.

What is the current bug behavior?

A comment is made on a merge request for a different branch than the one Danger ran on.

What is the expected correct behavior?

Danger only comments on the merge request that belongs to the branch it ran on.

Assignee Loading
Time tracking Loading