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.
This commit is contained in:
parent
62eadf90fd
commit
0f563756b2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue