Skip to content

Conversation

@makubacki
Copy link
Member

Adds a new workflow YAML file that can be reused by repos that need
to run CodeQL.

The workflow accepts the following input strings:

  • setup_command - The (Stuart) setup command to run
  • update_command - The (Stuart) update command to run
  • build_command - The (Stuart) build command to run
  • python_version - The Python version to use

The command strings can be an empty string to skip that command.

The default Python version is currently '3.x'.

This reusable workflow encapsulates common CodeQL pre and post
build steps and centralizes default values for common configuration
points like the Python version to use for CodeQL workflows.

Signed-off-by: Michael Kubacki michael.kubacki@microsoft.com

Adds a new workflow YAML file that can be reused by repos that need
to run CodeQL.

The workflow accepts the following input strings:
  - setup_command - The (Stuart) setup command to run
  - update_command - The (Stuart) update command to run
  - build_command - The (Stuart) build command to run
  - python_version - The Python version to use

The command strings can be an empty string to skip that command.

The default Python version is currently '3.x'.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
@makubacki
Copy link
Member Author

Here's an example of a successful CodeQL action in mu_feature_mm_supv using this workflow: https://github.com/microsoft/mu_feature_mm_supv/runs/8163325222?check_suite_focus=true

@makubacki makubacki merged commit cf0ba6d into microsoft:main Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants