Skip to content

Comments

Add CodeQL workflow for multi-language analysis (blocked by repository default setup)#10

Closed
Copilot wants to merge 9 commits intomainfrom
copilot/update-codeql-project-structure
Closed

Add CodeQL workflow for multi-language analysis (blocked by repository default setup)#10
Copilot wants to merge 9 commits intomainfrom
copilot/update-codeql-project-structure

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

Repository has GitHub's default CodeQL setup enabled in Settings, which blocks custom workflows. Workflow is correctly configured but cannot process results until repository owner switches to advanced setup.

Changes

Workflow Configuration

  • Multi-language matrix: Python (backend/worker), Swift (iOS), JavaScript/TypeScript (web)
  • Query suites: security-extended, security-and-quality
  • Fixed action path: github/codeql-action/init@v3 (was codeql-init@v3)
  • Inline queries parameter (no config file to avoid conflict surface)
  • Swift: Manual build with generic simulator, code signing disabled

Documentation

  • CODEQL_ACTION_REQUIRED.md - Root-level blocker notice
  • .github/CODEQL_SETUP.md - Step-by-step repository setting change
  • Workflow comments - Inline warning about repository setting

Blocker

GitHub rejects SARIF uploads with:

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

Analysis completes successfully; upload is rejected due to repository setting.

Required action (repository owner):
Settings → Security → Code security and analysis → CodeQL analysis (Default) → "..." → Switch to advanced

Alternative: Delete this workflow, keep default setup.

Workflow is production-ready once repository setting is changed.


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

Copilot AI and others added 3 commits February 9, 2026 02:50
Co-authored-by: smiles0527 <107016023+smiles0527@users.noreply.github.com>
Co-authored-by: smiles0527 <107016023+smiles0527@users.noreply.github.com>
…ator destination

Co-authored-by: smiles0527 <107016023+smiles0527@users.noreply.github.com>
Copilot AI changed the title [WIP] Update CodeQL based on project structure Add CodeQL workflow for multi-language project (Python, Swift, TypeScript) Feb 9, 2026
Copilot AI requested a review from smiles0527 February 9, 2026 02:53
@smiles0527
Copy link
Owner

@copilot its faliiling checks

Co-authored-by: smiles0527 <107016023+smiles0527@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 9, 2026

@copilot its faliiling checks

Fixed in commit 04c6986. The issue was an incorrect action path - changed github/codeql-action/codeql-init@v3 to github/codeql-action/init@v3. The checks should now pass.

Copilot AI and others added 2 commits February 9, 2026 03:19
…ries

Co-authored-by: smiles0527 <107016023+smiles0527@users.noreply.github.com>
Co-authored-by: smiles0527 <107016023+smiles0527@users.noreply.github.com>
Copilot AI changed the title Add CodeQL workflow for multi-language project (Python, Swift, TypeScript) Fix CodeQL workflow conflicts with default setup Feb 9, 2026
Co-authored-by: smiles0527 <107016023+smiles0527@users.noreply.github.com>
Copilot AI changed the title Fix CodeQL workflow conflicts with default setup Configure CodeQL for multi-language analysis (blocked by default setup) Feb 9, 2026
Co-authored-by: smiles0527 <107016023+smiles0527@users.noreply.github.com>
Copilot AI changed the title Configure CodeQL for multi-language analysis (blocked by default setup) Add CodeQL workflow for multi-language analysis (blocked by repository default setup) Feb 9, 2026
@smiles0527 smiles0527 closed this Feb 9, 2026
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