Commit 61761f8c authored by Tomislav Nikic's avatar Tomislav Nikic

Removing hardcoded branch name

This removes the master name for the branch
and replaces it with a dynamicaly allocated branch name.
parent 4b5b3064
...@@ -62,7 +62,7 @@ module QA ...@@ -62,7 +62,7 @@ module QA
@labels = [] @labels = []
@file_name = "added_file-#{SecureRandom.hex(8)}.txt" @file_name = "added_file-#{SecureRandom.hex(8)}.txt"
@file_content = "File Added" @file_content = "File Added"
@target_branch = "master" @target_branch = project.default_branch
@target_new_branch = true @target_new_branch = true
@no_preparation = false @no_preparation = false
@wait_for_merge = true @wait_for_merge = true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment