Skip to content

Add ignore rule for Xunit auto-generated entry point#217

Merged
vb2ae merged 1 commit intomasterfrom
vb2ae-patch-3
Jan 28, 2026
Merged

Add ignore rule for Xunit auto-generated entry point#217
vb2ae merged 1 commit intomasterfrom
vb2ae-patch-3

Conversation

@vb2ae
Copy link
Collaborator

@vb2ae vb2ae commented Jan 28, 2026

This pull request adds a new pattern to the CodeQL configuration to ignore an additional auto-generated file during analysis.

Code analysis configuration:

  • .github/codeql/codeql-config.yml: Added XunitAutoGeneratedEntryPoint.cs to the paths-ignore list to exclude it from CodeQL analysis, preventing unnecessary scanning of generated code.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the CodeQL configuration to avoid analyzing an additional Xunit-generated file, reducing noise from generated code.

Changes:

  • Added XunitAutoGeneratedEntryPoint.cs to paths-ignore in the CodeQL config.
  • Documented the new ignore rule with an inline comment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- '*.Designer.cs'
# Ignore all files with the .generated.cs extension (generated code)
- '*.generated.cs'
# Ignore Xuint Auto generated entry point (generated code)
Copy link

Copilot AI Jan 28, 2026

Choose a reason for hiding this comment

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

Typo in comment: "Xuint" should be "Xunit" (and consider standardizing wording like "auto-generated" for consistency).

Suggested change
# Ignore Xuint Auto generated entry point (generated code)
# Ignore Xunit auto-generated entry point (generated code)

Copilot uses AI. Check for mistakes.
@vb2ae vb2ae merged commit 2798c4a into master Jan 28, 2026
10 checks passed
@vb2ae vb2ae deleted the vb2ae-patch-3 branch January 28, 2026 13:00
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.

1 participant