Skip to content

ci: move full CodeQL analysis to weekly and manual runs - #1311

Merged
mergify[bot] merged 1 commit into
masterfrom
ci/codeql-scheduled-analysis
Oct 15, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
ci/codeql-scheduled-analysis

Conversation

@tignear

@tignear tignear commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Full CodeQL scans currently run for ordinary PR updates and default-branch pushes. Recent Rust analyses took 7.6–11.5 minutes each, competing with required product CI. This change runs only Actions analysis for PRs changing workflows or local actions, and moves all five languages to a weekly Sunday 04:17 UTC scan or manual dispatch. Queue drafts skip repeated analysis, and full scans use at most two runners concurrently.

The workflow uses the published CodeQL v4 commit and build-mode: none. Existing alert history is preserved. It starts only after the repository variable CODEQL_ADVANCED_ENABLED is set to true, so opening or merging this PR does not overlap the existing default setup.

Cutover after merge:

  1. Switch CodeQL default setup to advanced setup in repository settings.
  2. Disable the independent automatic GitHub Code Quality scans.
  3. Set CODEQL_ADVANCED_ENABLED=true, dispatch this workflow on master, and verify all five analyses upload results.

CONTRIBUTING.md includes verification and rollback steps. Repository security settings have not been changed as part of this PR.

Validation: 12 focused workflow tests passed, covering PR versus scheduled/manual language selection, the explicit cutover flag, queue-draft exclusion, and path/event triggers; actionlint and diff checks passed. All pre-push hooks passed. Live CodeQL upload verification belongs to cutover because default setup is still enabled.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-15T20:01:20.299958Z 687e313 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mergify

mergify Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@mergify

mergify Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 10 minutes 5 seconds in the queue, including 8 minutes 35 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-success = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-success = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-success = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-success = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

@mergify mergify Bot added the queued Mergify queue entry label Oct 15, 2026
@mergify mergify Bot mentioned this pull request Oct 15, 2026
35 of 64 tasks
@mergify
mergify Bot merged commit b48dbb1 into master Oct 15, 2026
22 of 29 checks passed
@mergify
mergify Bot deleted the ci/codeql-scheduled-analysis branch October 15, 2026 22:32
@mergify mergify Bot removed the queued Mergify queue entry label Oct 15, 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.

1 participant