Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CodeQL reusable GitHub workflow #5

Merged
merged 1 commit into from
Sep 2, 2022

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 [email protected]

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 <[email protected]>
@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