mirror of
https://github.com/crazy-max/ghaction-import-gpg.git
synced 2024-12-24 20:22:07 -05:00
Committer email does not match
This commit is contained in:
parent
9fcb9fcc56
commit
06280b7886
2 changed files with 2 additions and 2 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -1069,7 +1069,7 @@ function run() {
|
|||
yield git.setConfig('user.signingkey', privateKey.keyID);
|
||||
const user_email = git_committer_email || privateKey.email;
|
||||
const user_name = git_committer_name || privateKey.name;
|
||||
if (git_committer_email != privateKey.email) {
|
||||
if (user_email != privateKey.email) {
|
||||
core.setFailed('Committer email does not match GPG key user address');
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ async function run(): Promise<void> {
|
|||
const user_email = git_committer_email || privateKey.email;
|
||||
const user_name = git_committer_name || privateKey.name;
|
||||
|
||||
if (git_committer_email != privateKey.email) {
|
||||
if (user_email != privateKey.email) {
|
||||
core.setFailed('Committer email does not match GPG key user address');
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue