diff options
author | Jason van den Hurk <jasonhurk@gmail.com> | 2019-04-10 12:56:56 +0200 |
---|---|---|
committer | Jason van den Hurk <jasonhurk@gmail.com> | 2019-04-10 12:56:56 +0200 |
commit | 8d1649f77460b1203e6497b91342cc08b93ae160 (patch) | |
tree | 4a9cf646fd55287c7ef1a00de9a8b0834bbabe3b /app | |
parent | cd0eaccbfe59b7ac1e63aa59658ced2dc2ea27df (diff) | |
download | gitlab-ce-8d1649f77460b1203e6497b91342cc08b93ae160.tar.gz |
Change CI_REF_PROTECTED variable to CI_COMMIT_REF_PROTECTED
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ci/pipeline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb index 9e382d483f1..7aad4d2c176 100644 --- a/app/models/ci/pipeline.rb +++ b/app/models/ci/pipeline.rb @@ -638,7 +638,7 @@ module Ci variables.append(key: 'CI_COMMIT_MESSAGE', value: git_commit_message.to_s) variables.append(key: 'CI_COMMIT_TITLE', value: git_commit_full_title.to_s) variables.append(key: 'CI_COMMIT_DESCRIPTION', value: git_commit_description.to_s) - variables.append(key: 'CI_REF_PROTECTED', value: protected_ref?.to_s) + variables.append(key: 'CI_COMMIT_REF_PROTECTED', value: protected_ref?.to_s) if merge_request_event? && merge_request variables.append(key: 'CI_MERGE_REQUEST_SOURCE_BRANCH_SHA', value: source_sha.to_s) |