[go: up one dir, main page]

Skip to content

Commit

Permalink
Update lib/util/git/private-key.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins authored Nov 16, 2024
1 parent 7d1289a commit 30b7430
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/util/git/private-key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class GPGKey extends PrivateKey {
const keyFileName = upath.join(os.tmpdir() + '/git-private-gpg.key');
await fs.outputFile(keyFileName, this.key);
const { stdout, stderr } = await exec(
// --batch --no-tty flags allow Renovate to skip warnings about unsupported algorithms in the key
`gpg --batch --no-tty --import ${keyFileName}`,
);
logger.debug({ stdout, stderr }, 'Private key import result');
Expand Down

0 comments on commit 30b7430

Please sign in to comment.