This pull request primarily focuses on updating the workflow configuration and action setup for CodeQL analysis. The most important changes include adding a new runner in the workflow configuration, initializing CodeQL with a unique ID, and modifying the conditions for generating CodeQL Results CSV based on the runner's operating system.
Workflow configuration changes:
.github/workflows/codeql-pull-request.yml: A new runner, macos-latest-xlarge, has been added to the list of runners. This change allows CodeQL analysis to be performed on a macOS environment with the latest specifications.
Action setup changes:
codeql-analysis/action.yml: The CodeQL initialization step now has a unique ID, init. This ID can be used to reference the outputs of this step in subsequent steps.
codeql-analysis/action.yml: The condition for generating CodeQL Results CSV has been changed from runner.os != 'Windows' to runner.os == 'Linux'. This change ensures that the CSV generation only runs on Linux environments.
codeql-analysis/action.yml: A new step has been added to generate CodeQL Results CSV specifically for macOS environments. This ensures that the CSV generation is correctly handled for different operating systems.
This pull request primarily focuses on updating the workflow configuration and action setup for CodeQL analysis. The most important changes include adding a new runner in the workflow configuration, initializing CodeQL with a unique ID, and modifying the conditions for generating CodeQL Results CSV based on the runner's operating system.
Workflow configuration changes:
.github/workflows/codeql-pull-request.yml
: A new runner,macos-latest-xlarge
, has been added to the list of runners. This change allows CodeQL analysis to be performed on a macOS environment with the latest specifications.Action setup changes:
codeql-analysis/action.yml
: The CodeQL initialization step now has a unique ID,init
. This ID can be used to reference the outputs of this step in subsequent steps.codeql-analysis/action.yml
: The condition for generating CodeQL Results CSV has been changed fromrunner.os != 'Windows'
torunner.os == 'Linux'
. This change ensures that the CSV generation only runs on Linux environments.codeql-analysis/action.yml
: A new step has been added to generate CodeQL Results CSV specifically for macOS environments. This ensures that the CSV generation is correctly handled for different operating systems.