debug commit verification
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -1317,7 +1317,7 @@ class GitHubHelper {
|
|||||||
}
|
}
|
||||||
const { data: remoteCommit } = yield this.octokit.rest.git.createCommit(Object.assign(Object.assign({}, repository), { parents: parents, tree: treeSha, message: `${commit.subject}\n\n${commit.body}` }));
|
const { data: remoteCommit } = yield this.octokit.rest.git.createCommit(Object.assign(Object.assign({}, repository), { parents: parents, tree: treeSha, message: `${commit.subject}\n\n${commit.body}` }));
|
||||||
core.info(`Created commit ${remoteCommit.sha} for local commit ${commit.sha}`);
|
core.info(`Created commit ${remoteCommit.sha} for local commit ${commit.sha}`);
|
||||||
core.debug(`Commit verification: ${remoteCommit.verification}`);
|
core.debug(`Commit verified: ${remoteCommit.verification.verified}; reason: ${remoteCommit.verification.reason}`);
|
||||||
return remoteCommit.sha;
|
return remoteCommit.sha;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -270,7 +270,7 @@ export class GitHubHelper {
|
|||||||
core.info(
|
core.info(
|
||||||
`Created commit ${remoteCommit.sha} for local commit ${commit.sha}`
|
`Created commit ${remoteCommit.sha} for local commit ${commit.sha}`
|
||||||
)
|
)
|
||||||
core.debug(`Commit verification: ${remoteCommit.verification}`)
|
core.debug(`Commit verified: ${remoteCommit.verification.verified}; reason: ${remoteCommit.verification.reason}`)
|
||||||
return remoteCommit.sha
|
return remoteCommit.sha
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user