Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eebe7c4

Browse files
authored
Merge pull request #837 from github/aeisenberg/cli-2.7.3
Bump default CodeQL version to 2.7.3
2 parents 0dbcb55 + dc32d54 commit eebe7c4

File tree

7 files changed

+30
-6
lines changed

7 files changed

+30
-6
lines changed

.github/workflows/pr-checks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,9 @@ jobs:
370370
run: |
371371
../action/runner/dist/codeql-runner-macos init --repository $GITHUB_REPOSITORY --languages csharp --github-url $GITHUB_SERVER_URL --github-auth ${{ github.token }}
372372
373+
- name: Initialize dotnet
374+
run: dotnet restore
375+
373376
- name: Build code
374377
shell: bash
375378
run: |

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [UNRELEASED]
44

5-
No user facing changes.
5+
- Update default CodeQL bundle version to 2.7.3. [#837](https://github.com/github/codeql-action/pull/837)
66

77
## 1.0.25 - 06 Dec 2021
88

lib/codeql.js

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/codeql.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/defaults.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"bundleVersion": "codeql-bundle-20211122"
2+
"bundleVersion": "codeql-bundle-20211207"
33
}

src/codeql.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,17 @@ async function getCodeQLForCmd(
732732
"-Dmaven.wagon.http.pool=false",
733733
].join(" ");
734734

735-
await runTool(autobuildCmd);
735+
const runnerExecutable = process.env["CODEQL_RUNNER"] || "";
736+
// On Mac, prefixing with the runner executable is required to handle System Integrity Protection.
737+
if (runnerExecutable) {
738+
// Earlier steps (init) are expected to have written the runner executable path
739+
// to the tracing environment, and the current step is expected to have
740+
// correctly loaded that environment.
741+
await runTool(runnerExecutable, [autobuildCmd]);
742+
} else {
743+
// Fallback in case CODEQL_RUNNER wasn't correctly set or loaded.
744+
await runTool(autobuildCmd);
745+
}
736746
},
737747
async extractScannedLanguage(databasePath: string, language: Language) {
738748
// Get extractor location

src/defaults.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"bundleVersion": "codeql-bundle-20211122"
2+
"bundleVersion": "codeql-bundle-20211207"
33
}

0 commit comments

Comments
 (0)