Skip to content

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

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, so every scan shows a notice that the label will migrate to Ubuntu 26. This moves the scan to advanced setup with a committed workflow pinned to ubuntu-26.04, matching the other jobs here, and the notice goes away.

The workflow reproduces what default setup runs today: the actions language, the default query suite, and scans on pushes to main, pull requests, a weekly schedule, plus manual dispatch. The workflow grants no permissions at the top level, and the job gets only contents: read and security-events: write. Extra queries or configuration can follow separately.

Rollout

  • 🛡️ Switch CodeQL default setup off 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, which now warns that the label will
migrate to Ubuntu 26. A committed workflow pins ubuntu-26.04 like the other
jobs and keeps the same language, query suite and triggers.
@gaborbernat gaborbernat added the skip news No user-facing changelog entry needed 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 No user-facing changelog entry needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant