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 buildidentifier for each platform #977

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Conversation

lucyzhang929
Copy link
Contributor

This PR addresses: #973

Adding a BuildIdentifier for each platform so that CodeQL scans correctly. More information about setting up CodeQL for pipelines with multiple stages/jobs: https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/codeql/codeql-codeql3000-faq#there-are-multiple-pipelines-or-stagesjobs-how-do-we-onboard

@@ -54,9 +51,13 @@ stages:
# Disabling integration tests on macOS due to issues with running MSSQL on Docker
# We need to set up a self-hosted agent with Docker running by default: https://github.com/microsoft/azure-pipelines-tasks/issues/12823
testServer: ''
Codeql.BuildIdentifier: extension_mac
Codeql.Language: csharp,java,javascript,powershell,python,tsql
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note from CodeQL docs: "If repository contains an interpreted language, set Codeql.Language variable for that language in one of the stages/jobs to get full coverage."

I am setting the language for javascript, powershell, python, tsql only in the Mac job.

@lucyzhang929 lucyzhang929 merged commit db7ce71 into main Nov 30, 2023
2 checks passed
@lucyzhang929 lucyzhang929 deleted the luczhan/CodeQL branch November 30, 2023 19:18
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.

2 participants