Skip to content

Run CodeQL on master and weekly, not every PR - #961

Merged
AnthonyRonning merged 1 commit into
masterfrom
ci/codeql-master-only
Sep 17, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
ci/codeql-master-only

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Why

GitHub default CodeQL setup was scanning every PR. Analyze (rust) is 30–40 minutes on this monorepo (sometimes longer) and is not a required merge check. JS/Python/Actions finish in about a minute; rust is almost the entire wait.

What

Switch to advanced setup with the same languages and default query suite:

  • push to master
  • weekly Monday 05:28 UTC
  • workflow_dispatch

No pull_request trigger. A workflow test locks that so the GitHub starter template cannot quietly put PR scans back.

Default setup is already disabled (not-configured), so new PRs will not get the 30–40 minute rust job. Master scans resume on the merge push of this PR. The Security tab stays populated.

@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Maple development preview: https://51c24c4f.maple-ca8.pages.dev

Commit: 4d779613cda75bb4d0bf6e2e8ca6812333322f28

Uses development API, billing, flags and PCR configuration. Cloudflare Access applies.

Default setup scanned rust on every pull request. That job is 30-40
minutes on this monorepo and is not a required check. Switch to
advanced setup with the same languages and query suite, on master
pushes, a weekly schedule, and manual dispatch.
@AnthonyRonning
AnthonyRonning merged commit 94a73e5 into master Sep 17, 2026
35 checks passed
@AnthonyRonning
AnthonyRonning deleted the ci/codeql-master-only branch September 17, 2026 04:55

This branch was successfully deployed

1 active deployment
pages-pr-961 — 4d779613 Deployed Sep 17, 2026 by github-actions[bot]
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