ci: remove drift codeql.yml, enable GitHub-managed default setup - #75
ci: remove drift codeql.yml, enable GitHub-managed default setup#75don-petry wants to merge 0 commit into
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Removes the repository’s custom CodeQL GitHub Actions workflow to align with org policy requiring GitHub-managed CodeQL default setup and to avoid duplicate scans (and CI minutes) when default setup is configured out-of-band.
Changes:
- Deleted
.github/workflows/codeql.ymlto eliminate “advanced setup” drift - Relies on GitHub-managed CodeQL default setup being configured via API (per PR description)
Comments suppressed due to low confidence (2)
.github/workflows/codeql.yml:1
- Deleting the workflow removes the explicit trigger configuration (push/PR limited to
main+ a weekly cron) and the explicitlanguage: [\"actions\"]scope. Before merging, make sure GitHub-managed default setup is configured to provide equivalent coverage (languages + scan frequency), otherwise this change can reduce scanning cadence or change what gets analyzed compared to the previous workflow.
.github/workflows/codeql.yml:1 - The PR description states CodeQL default setup was enabled via API, but the diff only removes the workflow file. Since that configuration isn’t reviewable/auditable in-repo, consider adding a lightweight, repo-local breadcrumb (e.g., a short entry in SECURITY.md / docs noting that CodeQL is managed via default setup and when/where it was configured) so future reviewers can more easily validate the intended state without relying on PR text.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
All CI checks are green. @don-petry — please review and merge when ready. |
Automated review — APPROVEDRisk: MEDIUM
SummaryPR removes the per-repo FindingsMinor
Info
CI statusAll CI checks green. Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with |
|
Auto-rebase failed — merge conflict — this branch has conflicts with Please resolve the conflicts and push: |
donpetry-bot
left a comment
There was a problem hiding this comment.
Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.
2c507f6 to
23d1c1b
Compare
Pull request was closed
fbdcd20 to
4625df4
Compare
|



Summary
state=configured,query_suite=default).github/workflows/codeql.yml— per org CI standards §2, this file is drift: the advanced setup added no behavior beyond what default setup provides automaticallyWhy
The weekly compliance audit (
codeql-default-setup-not-configured) flagged that the repo's CodeQL default setup was not in theconfiguredstate. The org standard (§2) explicitly requires GitHub-managed default setup and treats per-repocodeql.ymlfiles as drift to be removed.Test plan
gh api -X PATCH repos/petry-projects/ContentTwin/code-scanning/default-setupreturned success (run_id: 24189973602)Closes #65
Generated with Claude Code