Commit ac386162 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'ajk-secpick-no-verify' into 'master'

Skip hooks when pushing security branches with secpick

See merge request gitlab-org/gitlab!64769
parents 4ada00f3 0f563756
...@@ -39,7 +39,7 @@ module Secpick ...@@ -39,7 +39,7 @@ module Secpick
["git fetch #{@options[:remote]} #{stable_branch}", ["git fetch #{@options[:remote]} #{stable_branch}",
"git checkout -B #{source_branch} #{@options[:remote]}/#{stable_branch} --no-track", "git checkout -B #{source_branch} #{@options[:remote]}/#{stable_branch} --no-track",
"git cherry-pick #{@options[:sha]}", "git cherry-pick #{@options[:sha]}",
"git push #{@options[:remote]} #{source_branch}", "git push #{@options[:remote]} #{source_branch} --no-verify",
"git checkout #{@options[:branch]}"] "git checkout #{@options[:branch]}"]
end end
......
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