Skip to content

Use the enforced CodeQL default setup - #7

Merged
JordanNanos merged 1 commit into
masterfrom
codex/use-default-codeql
Aug 28, 2026
Merged

Use the enforced CodeQL default setup#7
JordanNanos merged 1 commit into
masterfrom
codex/use-default-codeql

Conversation

@JordanNanos

@JordanNanos JordanNanos commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Purpose

The organization enforces CodeQL default setup. The checked-in advanced workflow fails because the organization blocks advanced setup.

What changed

  • Remove the advanced CodeQL workflow.
  • Keep the enforced CodeQL default setup active.

Effect

  • Users: None.
  • Operators: CodeQL checks use the organization configuration.
  • Developers: Pull requests no longer run the conflicting advanced workflow.
  • Data and compatibility: None.

Technical terms

  • CodeQL: A GitHub service that scans source code for security problems.
  • default setup: The CodeQL configuration that the organization manages.
  • advanced setup: A CodeQL configuration that uses a repository workflow file.

Validation

  • gh api repos/SemiAnalysisAI/ClusterMAX/code-security-configuration: Pass. The enforced configuration enables default setup and blocks advanced setup.
  • gh api repos/SemiAnalysisAI/ClusterMAX/code-scanning/default-setup: Pass. The default setup state is configured.
  • git diff --check: Pass.
  • Not run: Runtime tests do not apply to removal of the conflicting workflow.

Merge plan

Design decisions for approval

  • Approval required: No.
  • Decision: Use the enforced CodeQL default setup.
  • Options: Use default setup or advanced setup.
  • Recommendation: Use default setup because the organization configuration requires it.
  • Approver: None.

Risk and recovery

  • Risk: The repository workflow no longer selects CodeQL languages.
  • Safeguard: The organization configuration detects and scans supported languages.
  • Rollback: Permit advanced setup in the organization configuration and restore the workflow.

Excluded work


Note

Low Risk
Deletes a conflicting CI workflow only; scanning shifts to org-managed CodeQL default setup with no application or data-path changes.

Overview
Removes the repository’s custom .github/workflows/codeql.yml workflow so CodeQL no longer runs via the advanced (workflow-file) setup.

That workflow previously detected languages on the branch (Actions, C/C++, JS/TS, Python) and ran github/codeql-action analyze jobs on push/PR to master and release/**, plus a weekly schedule. After this change, security scanning is expected to come only from the organization’s enforced CodeQL default setup, which was blocking the advanced workflow.

Reviewed by Cursor Bugbot for commit ad98db4. Bugbot is set up for automated code reviews on this repo. Configure here.

@JordanNanos
JordanNanos marked this pull request as ready for review August 28, 2026 01:50
@JordanNanos
JordanNanos merged commit e7d57af into master Aug 28, 2026
4 checks passed
@JordanNanos
JordanNanos deleted the codex/use-default-codeql branch August 28, 2026 01:52
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