Skip to content

👷 ci(codeql): move to advanced setup on ubuntu-26.04 - #882

Closed
gaborbernat wants to merge 1 commit into
mainfrom
codeql-advanced-setup
Closed

gaborbernat wants to merge 1 commit into
mainfrom
codeql-advanced-setup

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

CodeQL default setup runs on ubuntu-latest, and every scan now carries a notice that the label will move to Ubuntu 26. 🛡️ This PR replaces default setup with a committed workflow that pins ubuntu-26.04, so the notice goes away and the runner image changes only when we change it.

The workflow matches what default setup runs today: the actions and python languages, the default query suite, and scans on pushes to main, pull requests and a weekly schedule, plus manual dispatch. Each language runs as its own job with build-mode: none and uploads under the same /language:<lang> category, so existing alerts carry over. The jobs get read access to the code and write access to security events, nothing else.

Rollout

  • Switch off CodeQL default setup right before merging. GitHub does not process advanced-setup results while default setup is enabled, so until then the upload step may report that default setup is on.

Default setup runs on ubuntu-latest, and GitHub shows a notice that the
label will move to Ubuntu 26. A committed workflow pins the runner to
ubuntu-26.04 and keeps the languages, query suite and triggers default setup
uses today.
@gaborbernat gaborbernat added the skip news Internal change; exempt from the news fragment check label Oct 26, 2026
@gaborbernat
gaborbernat deleted the codeql-advanced-setup branch October 26, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news Internal change; exempt from the news fragment check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant