Skip to content

Commit dc1c51d

Browse files
committed
Actions: Fix failing Runner autobuild test on macOS
Add the missing `$CODEQL_RUNNER` prefix to the autobuild command line. This intermediate process works around System Integrity Protection, allowing the tracer to start the C# extractor for the dotnet builds within the autobuild process. The test used to pass without this because the legacy CLR tracer bypassed SIP while dotnet 5 was used on the Actions virtual environment. Now that the virtual environment uses dotnet 6, the CLR tracer no longer works, and we need to explicitly work around SIP. This test will eventually be replaced by an internal integration test for the equivalent functionality in the CLI. For now, this change makes the test continue to pass.
1 parent 2d2dfa3 commit dc1c51d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ jobs:
414414
- name: Build code
415415
shell: bash
416416
run: |
417-
../action/runner/dist/codeql-runner-macos autobuild
417+
$CODEQL_RUNNER ../action/runner/dist/codeql-runner-macos autobuild
418418
419419
- name: Run analyze
420420
run: |

0 commit comments

Comments
 (0)