ci: add CodeQL static analysis workflow (#96)#107
Conversation
Co-authored-by: edsonesf <213125017+edsonesf@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Co-authored-by: edsonesf <213125017+edsonesf@users.noreply.github.com>
Co-authored-by: edsonesf <213125017+edsonesf@users.noreply.github.com>
Co-authored-by: edsonesf <213125017+edsonesf@users.noreply.github.com>
Co-authored-by: edsonesf <213125017+edsonesf@users.noreply.github.com>
|
@copilot Claude Haiku 4.5 - Review PR Review — PR #107ci: add CodeQL static analysis workflow (#96)
Core ChangesThe PR now has an improved description with explicit verification of local checks: ## Summary
Set up CodeQL static analysis workflow for Python to automatically detect security vulnerabilities.
## Changes
- Created `.github/workflows/codeql.yml`
- Configured CodeQL to trigger on `push` and `pull_request` to `main`
- Set `build-mode: 'none'` for Python
- Used `@v4` for CodeQL actions to avoid Node.js deprecation warnings
## Checklist
- [x] `ruff check .` passes
- [x] `ruff format --check .` passes
- [x] `PYTHONPATH=src mypy src/app/` passes
- [x] `pytest` passes
- [x] No hardcoded secrets
- [x] Commit messages follow the standardThe workflow file itself remains the same — a well-configured CodeQL action for Python analysis with proper permissions and matrix configuration. What Changed Since Last Revision✅ Improvements Made:
Merge Readiness AssessmentStatus: Still Draft — Awaiting Review & Rebase
Blockers to resolve:
The changes themselves are sound and ready — just need the administrative steps to move forward. |
…8366374558368559323
oak-pokemon-lab
left a comment
There was a problem hiding this comment.
TL;DR: GitHub is blocking the CodeQL upload because code scanning is disabled at the repository level. If your repository is private, CodeQL requires a paid GitHub Advanced Security license; if it is public, it is free, but you still need to enable it and set the correct workflow permissions.
- Option 1: Enable CodeQL (Best if the repo is Public or you have a paid license)
- Option 2: Change to Public Visibility (Free CodeQL)
- Option 3: Use Free Python Linters (Best if repo must stay Private)
|
Summary
Set up CodeQL static analysis workflow for Python to automatically detect security vulnerabilities.
Changes
.github/workflows/codeql.ymlpushandpull_requesttomainbuild-mode: 'none'for Python@v4for CodeQL actions to avoid Node.js deprecation warningsChecklist
ruff check .passesruff format --check .passesPYTHONPATH=src mypy src/app/passespytestpassesCloses
Closes #96
Related
Related to #96
PR created automatically by Jules for task 8366374558368559323 started by @edsonesf