ci: align codeql-action init and autobuild to v4.37.0

Dependabot bumped only codeql-action/analyze to v4.37.0, leaving init and
autobuild on v3.26.6. Mixing v3 init/autobuild with v4 analyze causes the
SARIF upload to fail with a configuration error. Align all three steps.

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
pull/32357/head
Terry Howe 3 months ago
parent 66ae64261d
commit c4d17f66a2
No known key found for this signature in database

@ -47,7 +47,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@4dd16135b69a43b6c8efb853346f8437d92d3c93 # pinv3.26.6
uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # pinv4.37.0
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@ -58,7 +58,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@4dd16135b69a43b6c8efb853346f8437d92d3c93 # pinv3.26.6
uses: github/codeql-action/autobuild@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # pinv4.37.0
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

Loading…
Cancel
Save