mirror of
https://github.com/crazy-max/ghaction-import-gpg.git
synced 2024-12-24 12:12:08 -05:00
Update index
This commit is contained in:
parent
ca42309c9d
commit
07f2f56021
2 changed files with 4 additions and 4 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -1062,8 +1062,8 @@ function run() {
|
|||
core.info('🛒 Setting outputs...');
|
||||
core.setOutput('fingerprint', privateKey.fingerprint);
|
||||
core.setOutput('keyid', privateKey.keyID);
|
||||
core.setOutput('email', privateKey.email);
|
||||
core.setOutput('name', privateKey.name);
|
||||
core.setOutput('email', privateKey.email);
|
||||
if (git_user_signingkey) {
|
||||
core.info('🔐 Setting GPG signing keyID for this Git repository');
|
||||
yield git.setConfig('user.signingkey', privateKey.keyID);
|
||||
|
|
|
@ -57,15 +57,15 @@ async function run(): Promise<void> {
|
|||
core.info('🛒 Setting outputs...');
|
||||
core.setOutput('fingerprint', privateKey.fingerprint);
|
||||
core.setOutput('keyid', privateKey.keyID);
|
||||
core.setOutput('email', privateKey.email);
|
||||
core.setOutput('name', privateKey.name);
|
||||
core.setOutput('email', privateKey.email);
|
||||
|
||||
if (git_user_signingkey) {
|
||||
core.info('🔐 Setting GPG signing keyID for this Git repository');
|
||||
await git.setConfig('user.signingkey', privateKey.keyID);
|
||||
|
||||
const user_email = git_committer_email || privateKey.email
|
||||
const user_name = git_committer_name || privateKey.name
|
||||
const user_email = git_committer_email || privateKey.email;
|
||||
const user_name = git_committer_name || privateKey.name;
|
||||
|
||||
if (git_committer_email != privateKey.email) {
|
||||
core.setFailed('Committer email does not match GPG key user address');
|
||||
|
|
Loading…
Reference in a new issue