0da33ca22be19452e26ed44aef8e99972d0bf866

Author
Carlo Sala <carlosalag@protonmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

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

Diff

 1diff --git a/lib/cli.zsh b/lib/cli.zsh
 2index e7f99701305d72103a78f90ad907c340fdaf7b4e..c2fba8556e499e969e821c1d3ac9979d6ffe1369 100644
 3--- a/lib/cli.zsh
 4+++ b/lib/cli.zsh
 5@@ -573,7 +573,7 @@ function _omz::pr::test {
 6 
 7     # Rebase pull request branch against the current master
 8     _omz::log info "rebasing PR #$1..."
 9-    command git rebase master ohmyzsh/pull-$1 || {
10+    command git rebase --no-gpg-sign master ohmyzsh/pull-$1 || {
11       command git rebase --abort &>/dev/null
12       _omz::log warn "could not rebase PR #$1 on top of master."
13       _omz::log warn "you might not see the latest stable changes."