Repository navigation
ci(OMN-10445): standardize OCC security scan runner routing - #665
Conversation
📝 WalkthroughWalkthroughReplaces the reusable CodeQL workflow call in ChangesCodeQL Workflow Inline Migration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
0d5bb07 to
f0b7423
Compare
ea10d51 to
a58a45a
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/security-scan.yml:
- Around line 37-49: The workflow currently uses mutable tags for actions
(actions/checkout@v6 and github/codeql-action/init@v4,
github/codeql-action/autobuild@v4, github/codeql-action/analyze@v4); replace
each of those uses: entries with the corresponding immutable full commit SHA for
the specific release (e.g., actions/checkout@<full-sha>,
github/codeql-action/init@<full-sha>, github/codeql-action/autobuild@<full-sha>,
github/codeql-action/analyze@<full-sha>) by looking up the commit SHAs from the
actions' canonical GitHub repos/tags and update all four occurrences so the
workflow pins to exact commits rather than major-version tags.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: c7e683ac-df66-41f5-95c2-e249abc9185c
📒 Files selected for processing (1)
.github/workflows/security-scan.yml
* ci(OMN-10445): self-scan local reusable codeql * ci(OMN-10445): run OCC codeql on selector runners * ci(OMN-10445): preserve CodeQL required check name * ci(OMN-10445): match protected CodeQL context * ci(OMN-10445): pin security scan actions * ci(OMN-10445): keep security scan actions standardized
* evidence(OMN-6678): bind OCC receipts for May 22 merge sweep Consolidated central OCC contracts + PR-bound DoD receipts unblocking the verify/verify receipt-gate for 11 in-flight PRs across three repos. omniintelligence: OMN-6678/#667, OMN-6660/#666, OMN-11621/#665, OMN-11551/#664, OMN-11554/#663, OMN-11561/#662, OMN-11565/#661, OMN-11568/#660. omnibase_compat: OMN-11618/#103, OMN-11579/#102. onex_change_control: OMN-11616/#1380. Each ticket carries a PR-bound PASS receipt plus an OCC self-binding receipt; contract_sha256 computed post-yamlfmt so hash binding holds in CI. Evidence-Source: OCC#9999 Evidence-Ticket: OMN-6678 Evidence-Ticket: OMN-6660 Evidence-Ticket: OMN-11621 Evidence-Ticket: OMN-11551 Evidence-Ticket: OMN-11554 Evidence-Ticket: OMN-11561 Evidence-Ticket: OMN-11565 Evidence-Ticket: OMN-11568 Evidence-Ticket: OMN-11618 Evidence-Ticket: OMN-11579 Evidence-Ticket: OMN-11616 * evidence(OMN-6678): pin OCC self-binding receipts to PR #1384 Two-pass finalization: replace placeholder OCC PR number 9999 with the real consolidated PR #1384 across all self-binding receipts and contract dod_evidence entries. Removes the stale dod-occ-pr-9999 entry left in the OMN-11621 contract and restamps every OMN-11621 receipt contract_sha256 to the post-edit, post-yamlfmt contract hash. Compat self-binding receipts updated to pr_number 1384. Evidence-Source: OCC#1384 Evidence-Ticket: OMN-6678 Evidence-Ticket: OMN-6660 Evidence-Ticket: OMN-11621 Evidence-Ticket: OMN-11551 Evidence-Ticket: OMN-11554 Evidence-Ticket: OMN-11561 Evidence-Ticket: OMN-11565 Evidence-Ticket: OMN-11568 Evidence-Ticket: OMN-11618 Evidence-Ticket: OMN-11579 Evidence-Ticket: OMN-11616 * chore(OMN-6678): re-trigger CI with OCC#1384 body
Ticket: OMN-10445
Summary
CodeQL / CodeQL Analysis (python)while avoiding one-off hardcoded runner labelsVerification
actionlint .github/workflows/security-scan.yml .github/workflows/codeql-reusable.ymlubuntuorself-hostedrunner labels in the touched CodeQL workflowsSummary by CodeRabbit