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
|
|
@ -99,7 +99,7 @@ export async function downloadTrapCaches(
|
|||
let baseSha = "unknown";
|
||||
const eventPath = process.env.GITHUB_EVENT_PATH;
|
||||
if (
|
||||
actionsUtil.workflowEventName() === "pull_request" &&
|
||||
actionsUtil.getWorkflowEventName() === "pull_request" &&
|
||||
eventPath !== undefined
|
||||
) {
|
||||
const event = JSON.parse(fs.readFileSync(path.resolve(eventPath), "utf-8"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue