Skip to content

Add CodeQL analysis workflow and update compliance pipeline schedule comment#8539

Merged
bschnurr merged 2 commits into
microsoft:mainfrom
bschnurr:fix-codeql
Jun 10, 2026
Merged

Add CodeQL analysis workflow and update compliance pipeline schedule comment#8539
bschnurr merged 2 commits into
microsoft:mainfrom
bschnurr:fix-codeql

Conversation

@bschnurr

Copy link
Copy Markdown
Member

No description provided.

@bschnurr bschnurr requested a review from a team as a code owner June 10, 2026 00:58
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@sonarqubecloud

Copy link
Copy Markdown

@bschnurr bschnurr enabled auto-merge (squash) June 10, 2026 16:13
@bschnurr

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@bschnurr bschnurr merged commit c01500b into microsoft:main Jun 10, 2026
7 of 8 checks passed
@@ -0,0 +1,47 @@
name: CodeQL

on:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot generated:
There is no schedule: trigger, so a branch that's quiet for weeks is never re-analyzed against newly-published CodeQL queries for newly-disclosed vulnerability classes. GitHub's default setup includes a weekly cron for exactly this. The ADO always: true change only partially mitigates this (csharp/python, not JS/TS). Consider adding a weekly schedule. (Raised by Advocate and Skeptic.) [unverified]

[verified]

contents: read
security-events: write

jobs:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot generated:
There is no concurrency block, so rapid successive pushes to main spawn overlapping full analyses (each up to the 360-min timeout). Adding concurrency: { group: codeql-${{ github.ref }}, cancel-in-progress: true } would coalesce superseded runs and save runner minutes. Efficiency only, not correctness. (Advocate and Skeptic.) [unverified]

[verified]

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.

4 participants