From a2f4d66a8b73b5520c33e48dc608b653b7f38c1d Mon Sep 17 00:00:00 2001 From: Aditya Sharad Date: Mon, 25 Jul 2022 15:33:52 -0700 Subject: [PATCH] Runner tests: Read CODEQL_RUNNER from the stored JSON This test workflow does not source the environment from the init step, so we need to manually read in the variable. --- .github/workflows/pr-checks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 8ab454f09..83df978ae 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -414,6 +414,7 @@ jobs: - name: Build code shell: bash run: | + CODEQL_RUNNER="$(cat codeql-runner/codeql-env.json | jq -r '.CODEQL_RUNNER')" $CODEQL_RUNNER ../action/runner/dist/codeql-runner-macos autobuild - name: Run analyze