Remove unused CODESCANNING_EVENT_NAME environment variable
This commit is contained in:
parent
9d2dd7cfea
commit
bf419682de
12 changed files with 32 additions and 55 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue