Committer email does not match

This commit is contained in:
CrazyMax 2020-05-13 00:31:51 +02:00
parent 9fcb9fcc56
commit 06280b7886
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 2 additions and 2 deletions

2
dist/index.js generated vendored
View file

@ -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;
}

View file

@ -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;
}