Skip to content

Conversation

@jpobst
Copy link
Contributor

@jpobst jpobst commented Nov 7, 2022

Enable CodeQL static code analysis on this repository to help catch potential issues.

This will only run on the Windows - .NET Core build lane, as we do not want to run it on all 4 builds.

Note the analysis only runs on main builds, so it will not show up in this CI build.

@jpobst jpobst marked this pull request as ready for review November 7, 2022 19:18
@jpobst jpobst requested a review from pjcollins November 7, 2022 19:18
1ESWindowsImage: AzurePipelinesWindows2022compliant
1ESMacPool: Azure Pipelines
1ESMacImage: internal-macos-11
Codeql.Enabled: true
Copy link
Member

Choose a reason for hiding this comment

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

We may want to limit the variable scope since the pipeline has four jobs that include a product build and would potentially run these steps.

Could we set this at a job scope below instead, maybe on the Windows .NET Build here https://github.com/xamarin/java.interop/blob/main/build-tools/automation/azure-pipelines.yaml#L88?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea, thanks!

@jpobst jpobst merged commit 5a0097b into main Nov 7, 2022
@jpobst jpobst deleted the codeql branch November 7, 2022 23:01
jonpryor pushed a commit to dotnet/android that referenced this pull request Nov 8, 2022
Changes: dotnet/java-interop@5318261...c6c487b

  * dotnet/java-interop@c6c487b6: [Java.Interop] Optional "Standalone" Build Config (dotnet/java-interop#1049)
  * dotnet/java-interop@5a0097b5: [ci] Enable CodeQL static analysis. (dotnet/java-interop#1057)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants