1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

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

This commit is contained in:
Carlo Sala 2022-02-10 11:50:04 +01:00 committed by GitHub
parent aaaa55424a
commit 0da33ca22b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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