CI automation: free static analysis (Semgrep + CodeQL) + Dependabot#13
Merged
Conversation
- claude-pr-review.yml: runs on every non-draft PR; review prompt tuned to this library's risks (look-ahead bias, honest OOS stats, metric/optimizer math correctness). Requires ANTHROPIC_API_KEY secret. - claude.yml: responds to @claude mentions in issues/PRs. - dependabot.yml: weekly pip + github-actions update PRs (grouped). - codeql.yml: Python security/quality scanning on push/PR + weekly cron.
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
…Claude bots) Replaces the Claude PR-review / @claude workflows (which need a paid ANTHROPIC_API_KEY) with fully free automation: - semgrep.yml: open-source static analysis (Python + security rules); findings upload to GitHub code scanning and annotate the PR. No token, no account, free for public repos. - codeql.yml + dependabot.yml retained (free for public repos). No API credits required anywhere in CI.
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.
Adds automated, completely free code-review/bug-finding and dependency hygiene for the repo — no API credits, no paid services, no tokens. Everything here is free for public repositories.
What's added
semgrep.yml— open-source static analysis (Semgrepp/python+p/security-audit). Runs on every PR; findings upload to GitHub code scanning and appear as inline annotations on the PR's Files changed tab and in the Security tab. Non-blocking (surfaces findings like a reviewer rather than gating). No account/token required.codeql.yml— GitHub's own Python security/quality scanner on push/PR + weekly cron. Free for public repos.dependabot.yml— weekly grouped update PRs forpipdeps and GitHub Actions.Cost
$0. GitHub Actions minutes, CodeQL, and code scanning are all free for public repositories, and Semgrep's OSS engine + community rules need no paid plan. Dependabot is a native GitHub feature.
Notes