Skip to content

Commit

Permalink
Push public key in non-CI mode too
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Oct 10, 2022
1 parent c7fb320 commit adbcab8
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,12 @@ final case class PgpSecretKeyCheck(
logger.message("Warning: no PGP public key found in config")
if (!hasPassword)
logger.message("Warning: no PGP secret key password found in config")
OptionCheck.DefaultValue.empty
OptionCheck.DefaultValue(
() =>
pushKey().map(_ => None),
Nil,
Nil
)
}
else
value {
Expand Down

0 comments on commit adbcab8

Please sign in to comment.