Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 18, 2025

The CodeQL workflow was analyzing both JavaScript/TypeScript and C# by default, despite this repository containing only C# code.

Changes

  • Modified .github/workflows/codeql-analysis.yml to explicitly pass languages: "['csharp']" to the reusable workflow
jobs:
  analyze:
    uses: JaCraig/Centralized-Workflows/.github/workflows/codeql.yml@main
    with:
      languages: "['csharp']"

This overrides the default multi-language analysis and limits CodeQL to C# only.

Original prompt

Limit the codeql action so that it only does c#.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: JaCraig <940434+JaCraig@users.noreply.github.com>
Copilot AI changed the title [WIP] Limit CodeQL action to only C# Limit CodeQL analysis to C# only Nov 18, 2025
Copilot AI requested a review from JaCraig November 18, 2025 01:22
@JaCraig JaCraig marked this pull request as ready for review November 18, 2025 01:26
@JaCraig JaCraig merged commit 2864543 into master Nov 18, 2025
5 checks passed
@JaCraig JaCraig deleted the copilot/limit-codeql-to-csharp branch November 18, 2025 01:27
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