Skip to content

Use CodeQL default setup - #194

Merged
Mike Krüger (mkrueger) merged 1 commit into
mainfrom
dev/mkrueger/welcome-preview-banner
Aug 25, 2026
Merged

Mike Krüger (mkrueger) merged 1 commit into
mainfrom
dev/mkrueger/welcome-preview-banner

Conversation

@mkrueger

@mkrueger Mike Krüger (mkrueger) commented Aug 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • remove the repository's advanced CodeQL workflow
  • rely on the already-enabled GitHub-managed CodeQL default setup

Why

GitHub rejects SARIF uploads from advanced configurations while CodeQL default setup is enabled. The custom workflow previously avoided that conflict with upload: false, but that produced a green workflow check without a code-scanning analysis and left ruleset evaluation confusing.

Default setup already analyzes both C# and GitHub Actions and publishes the results required by the code-scanning ruleset. Removing the custom workflow establishes one CodeQL owner and avoids duplicate/conflicting runs.

After this merges, PR #173 needs a new head or merge commit so default setup evaluates it again.

Validation

  • confirmed default-setup CodeQL runs complete successfully on this PR
  • confirmed the rejected advanced upload error: CodeQL analyses from advanced configurations cannot be processed when the default setup is enabled
  • git diff --check

Copilot AI left a comment

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.

Pull request overview

This pull request updates the repository’s CodeQL GitHub Actions workflow so it can publish code-scanning (SARIF) results to GitHub, ensuring the required CodeQL checks are produced for the main ruleset.

Changes:

  • Grants the workflow security-events: write permission so SARIF uploads are authorized.
  • Removes upload: false from the github/codeql-action/analyze@v4 step so analysis results are uploaded.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI review requested due to automatic review settings August 25, 2026 08:52
@mkrueger Mike Krüger (mkrueger) changed the title Fix CodeQL result uploads Aug 25, 2026

Copilot AI left a comment

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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@github-code-quality

github-code-quality Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

Code Coverage Overview

Languages: C#

C# / code-coverage/dotnet

The overall line coverage in commit d9551ce in the dev/mkrueger/welcome... branch remains at 61%, unchanged from commit 12950ca in the main branch.


Updated August 25, 2026 09:03 UTC

Remove the conflicting advanced CodeQL workflow and rely on the repository-managed default setup for code-scanning analyses.
@mkrueger
Mike Krüger (mkrueger) merged commit f04bb69 into main Aug 25, 2026
12 checks passed
@mkrueger
Mike Krüger (mkrueger) deleted the dev/mkrueger/welcome-preview-banner branch August 25, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants