浏览代码

fix(cli): disable GPG signing in `omz pr test` to avoid key prompt (#10677)

Carlo Sala 2 年之前
父节点
当前提交
0da33ca22b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/cli.zsh

+ 1 - 1
lib/cli.zsh

@@ -573,7 +573,7 @@ function _omz::pr::test {
 
     # Rebase pull request branch against the current master
     _omz::log info "rebasing PR #$1..."
-    command git rebase master ohmyzsh/pull-$1 || {
+    command git rebase --no-gpg-sign master ohmyzsh/pull-$1 || {
       command git rebase --abort &>/dev/null
       _omz::log warn "could not rebase PR #$1 on top of master."
       _omz::log warn "you might not see the latest stable changes."