chore: update README.md (#1225)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@@ -485,7 +485,7 @@ const getSHAForPullRequestEvent = (inputs, env, workingDirectory, isShallow, has
|
||||
previousSha = env.GITHUB_EVENT_PULL_REQUEST_BASE_SHA;
|
||||
}
|
||||
}
|
||||
if (previousSha === currentSha) {
|
||||
if (previousSha === currentSha && env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA) {
|
||||
currentSha = env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA;
|
||||
}
|
||||
if (!(yield (0, utils_1.canDiffCommits)({
|
||||
|
||||
Reference in New Issue
Block a user