diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2020-05-20 20:19:05 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2020-05-20 20:19:05 +0300 |
commit | e2d9b596b2c8a597a95269d05ec0921510b573c7 (patch) | |
tree | 8504fabbcb26da621ffd6965b8c5879d292761e2 /danger | |
parent | 3231c6a7a583bd5ffe22983945f4422c71461db8 (diff) |
danger: Remove warning to delete branches post-merge
A few minutes ago, I flipped the project setting that sets the 'Delete
source branch' tick by default when creating a new merge request. This
makes the danger check for the same thing irrelevant as the user chose
not to delete the branch if it's not set. Probably with good reason.
Diffstat (limited to 'danger')
-rw-r--r-- | danger/merge_request/Dangerfile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/danger/merge_request/Dangerfile b/danger/merge_request/Dangerfile index 38cb859b0..f35f88f6d 100644 --- a/danger/merge_request/Dangerfile +++ b/danger/merge_request/Dangerfile @@ -10,8 +10,4 @@ if gitlab.mr_title.length > 72 warn "The title of this merge requests it too long" end -unless gitlab.mr_json["force_remove_source_branch"] - warn "The source branch can be removed after the merge request is merged, please consider setting this option" -end - # vim: ft=ruby |