Commit cbc24bf9 authored by Fabio Pitino's avatar Fabio Pitino Committed by Stan Hu

Reference "ci.skip" as constant

parent 8dc70db2
......@@ -1068,7 +1068,7 @@ class Repository
end
push_options = []
push_options << 'ci.skip' if skip_ci
push_options << Gitlab::PushOptions::CI_SKIP if skip_ci
raw.rebase(
user,
......
......@@ -32,6 +32,8 @@ module Gitlab
OPTION_MATCHER = /(?<namespace>[^\.]+)\.(?<key>[^=]+)=?(?<value>.*)/.freeze
CI_SKIP = 'ci.skip'
attr_reader :options
def initialize(options = [])
......
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