Skip to content

Limit CodeQL analysis to C# only - #340

Merged
JaCraig merged 2 commits into
mainfrom
copilot/limit-codeql-task-to-csharp
Nov 18, 2025
Merged

Limit CodeQL analysis to C# only#340
JaCraig merged 2 commits into
mainfrom
copilot/limit-codeql-task-to-csharp

Conversation

Copilot AI commented Nov 18, 2025

Copy link
Copy Markdown

The CodeQL workflow was analyzing both JavaScript/TypeScript and C# by default. This repository only contains C# code.

Changes

  • Added languages: "['csharp']" parameter to .github/workflows/codeql-analysis.yml to restrict analysis to C# only
jobs:
  analyze:
    uses: JaCraig/Centralized-Workflows/.github/workflows/codeql.yml@main
    with:
      languages: "['csharp']"

This reduces unnecessary analysis overhead and focuses the security scanning on the relevant codebase.

Original prompt

limit codeql task to c#.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI self-assigned this Nov 18, 2025
Co-authored-by: JaCraig <940434+JaCraig@users.noreply.github.com>
Copilot AI changed the title [WIP] Limit CodeQL task to C# Limit CodeQL analysis to C# only Nov 18, 2025
Copilot AI requested a review from JaCraig November 18, 2025 12:49
@JaCraig
JaCraig marked this pull request as ready for review November 18, 2025 13:23
@JaCraig
JaCraig merged commit 7c42930 into main Nov 18, 2025
7 checks passed
@JaCraig
JaCraig deleted the copilot/limit-codeql-task-to-csharp branch November 18, 2025 13:24
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