Merge remote-tracking branch 'origin/main' into angelapwen/post-init-cleanup

This commit is contained in:
Angela P Wen 2022-08-11 15:24:10 +02:00
commit 15608ceae3
6 changed files with 8 additions and 15 deletions

View file

@ -670,12 +670,7 @@ export async function createStatusReportBase(
}
const runnerOs = getRequiredEnvParam("RUNNER_OS");
const codeQlCliVersion = getCachedCodeQlVersion();
// If running locally then the GITHUB_ACTION_REF cannot be trusted as it may be for the previous action
// See https://github.com/actions/runner/issues/803
const actionRef = isRunningLocalAction()
? undefined
: process.env["GITHUB_ACTION_REF"];
const actionRef = process.env["GITHUB_ACTION_REF"];
const statusReport: StatusReportBase = {
workflow_run_id: workflowRunID,