Repository navigation
Replace Onyx CI workflows with self-contained scans before going public - #2
Merged
Merged
Conversation
The Onyx workflows call reusable workflows in the private scaleapi/required-actions repo, which a public repo likely cannot use, and the two comment-triggered handlers (trufflehog-bypass, opengrep-fp) do not check the commenter's permission, so any GitHub user could trigger them once the repo is public (SEC-001, SEC-002). Swap them for the SHA-pinned, read-only TruffleHog and CodeQL workflows used by scaleapi/RSI-Control, add Dependabot for pip and GitHub Actions, and remove the empty CircleCI config (SEC-005). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rodlaf
approved these changes
Nov 20, 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.
Prepares the repo for the visibility change requested in SECAT-3182.
Why
trufflehog-bypass.yml(issue_comment) andopengrep-fp.yml(pull_request_review_comment,secrets: inherit) call handlers inscaleapi/required-actionsthat don't check the commenter's permission. Once the repo is public, any GitHub user could bypass the secret scan or mark OpenGrep findings as false positives (pre-OSS review SEC-001).scaleapi/required-actionsrepo, which a public repo likely can't use, so they'd fail on every PR (SEC-002).What
.circleci/config.yml(SEC-005).scaleapi/RSI-Control, copied verbatim: TruffleHog on PRs, a weekly full-history TruffleHog scan, and CodeQL (Python + Actions). All actions are SHA-pinned, withcontents: readand no secrets..github/dependabot.ymlfor pip and GitHub Actions.After merge and the visibility flip
🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge, with no outstanding findings.Summary
Replaces private Onyx workflows with self-contained security scans before the repository becomes public.
Reviews (2) · Last reviewed commit: "Re-trigger TruffleHog" · Reviewed by Greptile