Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-09-04 11:23:50 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2017-09-04 11:23:50 +0300
commitd449355f94e54788efb70e8998327720060afddc (patch)
treea140bc43e2ac498d6fd2c20defde3afccf3f392c /features
parenta343484bdf6de75383c4667cc6b161a5c47dbeef (diff)
parent53b5346d407d2303e88d8cf5d6e9271996051cf1 (diff)
Merge branch 'feature/sm/33281-protected-runner-executes-jobs-on-protected-branch' into 'master'
Protected runner executes jobs on protected branch [Solution 1] Closes #33281 See merge request !13194
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/pages.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/features/steps/project/pages.rb b/features/steps/project/pages.rb
index 9705470738e..124a132d688 100644
--- a/features/steps/project/pages.rb
+++ b/features/steps/project/pages.rb
@@ -37,7 +37,8 @@ class Spinach::Features::ProjectPages < Spinach::FeatureSteps
step 'pages are deployed' do
pipeline = @project.pipelines.create(ref: 'HEAD',
sha: @project.commit('HEAD').sha,
- source: :push)
+ source: :push,
+ protected: false)
build = build(:ci_build,
project: @project,