Skip to content

ci: update codeql-action v2→v3 and checkout v3→v4 - #140

Open
TimeToBuildBob wants to merge 1 commit into
ActivityWatch:masterfrom
TimeToBuildBob:fix/codeql-action-v2-to-v3
Open

ci: update codeql-action v2→v3 and checkout v3→v4#140
TimeToBuildBob wants to merge 1 commit into
ActivityWatch:masterfrom
TimeToBuildBob:fix/codeql-action-v2-to-v3

Conversation

@TimeToBuildBob

Copy link
Copy Markdown
Contributor

Summary

Fixes the failing Analyze (python) (CodeQL) CI check.

codeql-action v2 was deprecated on 2025-01-10 (GitHub changelog), causing the check to fail with:

##[error]CodeQL Action major versions v1 and v2 have been deprecated.
Please update all occurrences of the CodeQL Action in your workflow files to v3.

Changes

  • github/codeql-action/init@v2@v3
  • github/codeql-action/autobuild@v2@v3
  • github/codeql-action/analyze@v2@v3
  • actions/checkout@v3@v4 (v3 also deprecated)

This unblocks the CodeQL check on the open privacy filter PR (#135) and all future PRs.

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-apps

greptile-apps Bot commented Aug 27, 2026

Copy link
Copy Markdown

Greptile Summary

Updates the CodeQL workflow to supported major versions of GitHub’s checkout and CodeQL actions, restoring the Python security analysis job.

  • Upgrades actions/checkout from v3 to v4.
  • Upgrades CodeQL init, autobuild, and analysis steps from v2 to v3.

Confidence Score: 5/5

The 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

Filename Overview
.github/workflows/codeql.yml The workflow’s four action references are upgraded without changing its triggers, permissions, query suite, or analysis category.

Reviews (1): Last reviewed commit: "ci: update codeql-action v2→v3 and check..." | Re-trigger Greptile

@TimeToBuildBob

Copy link
Copy Markdown
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant