github / codeql-action

Actions for running CodeQL analysis
MIT License
1.09k stars 305 forks source link

Fix incompatibility between direct tracing in the `autobuild` Action and specifying a custom working directory #2328

Closed henrymercer closed 1 month ago

henrymercer commented 1 month ago

This PR fixes an issue with the AutobuildDirectTracing feature where it would ignore the working-directory input to the autobuild Action. The fix is to pass Node's working directory to the CLI, since we already change directory in Node based on the input. We also bump the version of the feature flag so that we can avoid re-enabling the flag for old Action versions.

I've added a PR check to validate that the fix works.

Merge / deployment checklist