Commit 0f563756 authored by Alex Kalderimis's avatar Alex Kalderimis

Skip hooks when pushing security branches with secpick

This makes sense, because some hooks will fail if the security master
and origin master are very different, but we know (from the generated
command) that the use of push here is safe.
parent 62eadf90
......@@ -39,7 +39,7 @@ module Secpick
["git fetch #{@options[:remote]} #{stable_branch}",
"git checkout -B #{source_branch} #{@options[:remote]}/#{stable_branch} --no-track",
"git cherry-pick #{@options[:sha]}",
"git push #{@options[:remote]} #{source_branch}",
"git push #{@options[:remote]} #{source_branch} --no-verify",
"git checkout #{@options[:branch]}"]
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