ci: analyze this repository with a CodeQL workflow - #76
Conversation
Default setup did not run on pull requests here, so nothing was analyzed. An explicit workflow analyzes Python sources and the Actions workflows on pushes and pull requests for main and scalar-next, plus weekly on the default branch.
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
@codex please do an in-depth review of this CodeQL workflow. Specifically: whether the |
|
To use Codex here, create a Codex account and connect to github. |
Summary
CodeQL never ran on this repository's pull requests: it relied on CodeQL default setup from the org's Profound Base Configuration, and unlike the private repos (
lumon,magi-cortex,integration-hub, which all showAnalyze (python)/Analyze (actions)checks), nothing was scheduled here — PR #75's checks contain no CodeQL entry at all. This replaces the implicit setup with an explicit workflow, so the trigger lives in the repo and a missing run shows up as a missing job rather than silence..github/workflows/codeql.ymlanalyzespythonandactionsin a matrix withbuild-mode: none(neither needs a build), on pushes and pull requests formainandscalar-next, plus a weekly cron so the default branch's results don't go stale between infrequent releases. Job names areAnalyze (python)/Analyze (actions), matching the other repos so the org ruleset'sCodeQLrequirement sees the same shape.security-events: writeis scoped to the analyze job, the workflow floor stayscontents: read, andactions/checkoutruns withpersist-credentials: false, followingsdk-ci.yml's conventions and SHA pinning style.Two things outside this diff:
scalar-next, notmain: perVERSIONING.md, custom code lives onscalar-nextand reaches the default branch through a release PR. The triggers cover both branches, so it also runs on release PRs intomain.Link to Devin session: https://profound.devinenterprise.com/sessions/81b432a57e6443d8ae6276da914f6e90
Open in Devin Desktop: https://profound.devinenterprise.com/desktop/session/81b432a57e6443d8ae6276da914f6e90?variant=devin
Requested by: @dbschmigelski