Repository navigation
ci: add push-only CodeQL scan with High/Critical alert relay - #13
Merged
Merged
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
|
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
kakarot0O
approved these changes
Oct 21, 2026
kakarot0O
approved these changes
Oct 21, 2026
kakarot0O
left a comment
There was a problem hiding this comment.
Re-approving per Leif's suggestion
leifdreizler
approved these changes
Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
.github/workflows/codeql.yml, modeled on invisible-tools/dawn's current CodeQL workflow. It runs on push tomainplus a Monday 06:00 UTC cron only. There is deliberately nopull_requesttrigger, so PR checks are unchanged.analyze: matrix overgo(autobuild, withsetup-gofromgo.mod),actions, default query suite,paths-ignore:**/*_test.go,conformance/**,examples/**. Public repo, so it usesubuntu-latest, which is already 4-core / 16 GB on public repos.relay-alerts(push only): collects open High/Critical alerts created by this run on this commit, then POSTs each one toSLACK_CODEQL_WEBHOOK_URLand to the Devin triage webhook (DEVIN_CODEQL_WEBHOOK_URL+DEVIN_CODEQL_WEBHOOK_SECRET). This job is the same as dawn's, including the delivery fix in https://github.com/invisible-tools/dawn/pull/9021: it runs even if one language's scan fails (!cancelled()instead of the defaultsuccess()gate), and the Devin webhook step still runs if the Slack post fails.Before merge: the three secrets must be visible to this repo (org-level secret with selected-repo access, or repo secrets). Without them the relay fails only when there is an alert to post.
Licensing: public repo. A probe run completed cleanly (analyze + relay green).
Link to Devin session: https://app.devin.ai/sessions/d405aab680584212bcc75f9bf5c329e0
Open in Devin Desktop: https://app.devin.ai/desktop/session/d405aab680584212bcc75f9bf5c329e0?variant=devin
Requested by: @kakarot0O