diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2017-09-04 08:23:50 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2017-09-04 08:23:50 +0000 |
commit | d449355f94e54788efb70e8998327720060afddc (patch) | |
tree | a140bc43e2ac498d6fd2c20defde3afccf3f392c /features | |
parent | a343484bdf6de75383c4667cc6b161a5c47dbeef (diff) | |
parent | 53b5346d407d2303e88d8cf5d6e9271996051cf1 (diff) | |
download | gitlab-ce-d449355f94e54788efb70e8998327720060afddc.tar.gz |
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.rb | 3 |
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, |