From 795aede3b3e39d37cf19a88a420653e2fb4f58d0 Mon Sep 17 00:00:00 2001 From: Diego Date: Wed, 16 Sep 2026 16:38:04 -0300 Subject: [PATCH] ci: update the deprecated CodeQL action and checkout GitHub annotates every CodeQL run on this repository with two notices: CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v3, github/codeql-action/analyze@v2, ... The first one is reported at failure level, so the workflow is already being flagged. Moving codeql-action to v4 and checkout to v5 clears both. No other change: the query suite and the matrix stay as they are. --- .github/workflows/codeql.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c9232c711..540f25bf3 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,18 +24,18 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v5 - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} queries: +security-and-quality - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v4 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v4 with: category: "/language:${{ matrix.language }}"