Skip to content

Remove advanced CodeQL workflow conflicting with default setup#34

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-codeql-build-failure
Open

Remove advanced CodeQL workflow conflicting with default setup#34
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-codeql-build-failure

Conversation

Copy link
Copy Markdown

Copilot AI commented May 11, 2026

Bug Fix

What was the bug?

The CodeQL-Build job was failing at the SARIF upload step with:

CodeQL analyses from advanced configurations cannot be processed when the default setup is enabled

The repo had GitHub's default CodeQL setup enabled in repository settings and a custom advanced workflow (.github/workflows/codeql.yml). These are mutually exclusive — GitHub rejects SARIF uploads from an advanced workflow when default setup is active.

How did you fix it?

Deleted .github/workflows/codeql.yml. The default setup continues to handle all CodeQL scanning; the custom workflow was fully redundant and the source of the conflict.

Testing

No code changes — the fix is verified by the absence of the conflicting workflow.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job CodeQL-Build Remove advanced CodeQL workflow conflicting with default setup May 11, 2026
Copilot AI requested a review from truggeri May 11, 2026 20:06
@truggeri truggeri requested a review from Copilot May 11, 2026 20:12
Copy link
Copy Markdown

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

Removes the repository’s custom “advanced” CodeQL GitHub Actions workflow to eliminate a conflict with GitHub’s default CodeQL setup (which rejects SARIF uploads from advanced workflows when default setup is enabled).

Changes:

  • Deleted .github/workflows/codeql.yml (advanced CodeQL workflow) to stop the conflicting SARIF upload path.
  • Leaves existing CI/release workflows intact (go.yml, release.yml), with CodeQL handled via GitHub’s default setup.
Show a summary per file
File Description
.github/workflows/codeql.yml Removes the advanced CodeQL workflow that conflicted with GitHub default CodeQL setup and caused SARIF upload failures.

Copilot's findings

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@truggeri truggeri marked this pull request as ready for review May 11, 2026 21:44
@truggeri truggeri requested a review from a team as a code owner May 11, 2026 21:44
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