mirror of
https://github.com/valkey-io/valkey.git
synced 2026-05-06 13:36:47 -04:00
d49eac9cad
The CodeQL workflow is currently throwing a deprecation warning regarding use of v3. > CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. This PR introduces the following changes: * References to CodeQL v3 have been updated to the SHA of the latest CodeQL release, [v4.32.5]. Signed-off-by: Kurt McKee <contactme@kurtmckee.org>
52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
name: "CodeQL"
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
- '**/00-RELEASENOTES'
|
|
- '**/COPYING'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
- '**/00-RELEASENOTES'
|
|
- '**/COPYING'
|
|
schedule:
|
|
# run weekly new vulnerability was added to the database
|
|
- cron: '0 3 * * 0'
|
|
|
|
concurrency:
|
|
group: codeql-${{ github.head_ref || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
if: github.event_name != 'schedule' || github.repository == 'valkey-io/valkey'
|
|
permissions:
|
|
security-events: write
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: ['cpp']
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
|