mirror of
https://github.com/github/codeql-action.git
synced 2026-10-31 18:09:43 +00:00
Remove unused CODESCANNING_EVENT_NAME environment variable
This commit is contained in:
2
lib/upload-lib.js
generated
2
lib/upload-lib.js
generated
@@ -220,7 +220,7 @@ function buildPayload(commitOid, ref, analysisKey, analysisName, zippedSarif, wo
|
||||
base_ref: undefined,
|
||||
base_sha: undefined,
|
||||
};
|
||||
if (actionsUtil.workflowEventName() === "pull_request") {
|
||||
if (actionsUtil.getWorkflowEventName() === "pull_request") {
|
||||
if (commitOid === util.getRequiredEnvParam("GITHUB_SHA") &&
|
||||
mergeBaseCommitOid) {
|
||||
// We're uploading results for the merge commit
|
||||
|
||||
Reference in New Issue
Block a user