[workflows] Upgrade codeql-action (#191008)

Fixes deprecation warnings e.g.
1047947860.

The only breaking change is the Node.js version, which is already being
overriden. See
https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/

https://github.com/github/codeql-action/blob/main/CHANGELOG.md
This commit is contained in:
Jon 2024-08-23 10:53:40 -05:00 committed by GitHub
parent d1b322311a
commit af4f482f5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ jobs:
ref: ${{ matrix.branch }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@883d8588e56d1753a8a58c1c86e88976f0c23449 # v3.26.3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
@ -42,7 +42,7 @@ jobs:
# yarn kbn bootstrap --no-validate --no-vscode
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@883d8588e56d1753a8a58c1c86e88976f0c23449 # v3.26.3
# env:
# NODE_OPTIONS: "--max-old-space-size=6144"
with: