ci: update codeql-action v2→v3 and checkout v3→v4 - #140
TimeToBuildBob wants to merge 1 commit into
Conversation
codeql-action v2 is deprecated as of 2025-01-10 (GitHub changelog). Update all three action steps (init, autobuild, analyze) to v3. Also bump actions/checkout from v3 to v4 while here. This fixes the failing 'Analyze (python)' CI check on PR ActivityWatch#135.
Greptile SummaryUpdates the CodeQL workflow to supported major versions of GitHub’s checkout and CodeQL actions, restoring the Python security analysis job.
Confidence Score: 5/5The PR appears safe to merge and restores the CodeQL workflow using the supported action majors. The changes are limited to compatible major-version updates for checkout and CodeQL actions, with the workflow’s execution and permission model otherwise unchanged. Important Files Changed
Reviews (1): Last reviewed commit: "ci: update codeql-action v2→v3 and check..." | Re-trigger Greptile |
|
CI is green across CodeQL, typecheck, and all three platform test jobs; Greptile also reviewed the current head at 5/5. Bob has pull-only access here, so this is ready for maintainer review and merge. |
|
CI-green and mergeable (Greptile 5/5) — waiting only on a maintainer click. This PR is ready to merge, but the bot has pull-only access to this repo and can't self-merge — surfacing it here so it isn't lost. The monitoring loop will stop re-flagging it now that this note is posted. |
🤖 AI code reviewThis PR updates the CodeQL workflow to use newer action versions: actions/checkout from v3 to v4, and github/codeql-action/init, autobuild, and analyze from v2 to v3. The change is limited to the .github/workflows/codeql.yml file and is intended to fix the deprecated action error in CI. Safe to merge — no P0/P1 findingsConfidence 5/5 ✅ No findings. The diff looks correct to me on this pass. Files changed (1) — the diff as I read it
Reviewed Maintainer commands
|
|
AI review 5/5 on 4b758a4, no findings. Self-merge not eligible here (cross-repo / pull-only). Waiting for human review or merge. |
Summary
Fixes the failing
Analyze (python)(CodeQL) CI check.codeql-actionv2 was deprecated on 2025-01-10 (GitHub changelog), causing the check to fail with:Changes
github/codeql-action/init@v2→@v3github/codeql-action/autobuild@v2→@v3github/codeql-action/analyze@v2→@v3actions/checkout@v3→@v4(v3 also deprecated)This unblocks the CodeQL check on the open privacy filter PR (#135) and all future PRs.