aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/.github/workflows/codeql-analysis.yml
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:40:55 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:40:55 +0100
commit5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda (patch)
tree1acdfa5220cd13b7be43a2a01368e80d306473ca /examples/redis-unstable/.github/workflows/codeql-analysis.yml
parentc7ab12bba64d9c20ccd79b132dac475f7bc3923e (diff)
downloadcrep-5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda.tar.gz
Add Redis source code for testing
Diffstat (limited to 'examples/redis-unstable/.github/workflows/codeql-analysis.yml')
-rw-r--r--examples/redis-unstable/.github/workflows/codeql-analysis.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/examples/redis-unstable/.github/workflows/codeql-analysis.yml b/examples/redis-unstable/.github/workflows/codeql-analysis.yml
new file mode 100644
index 0000000..c5411b9
--- /dev/null
+++ b/examples/redis-unstable/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,33 @@
1name: "CodeQL"
2
3on:
4 pull_request:
5 schedule:
6 # run weekly new vulnerability was added to the database
7 - cron: '0 0 * * 0'
8
9jobs:
10 analyze:
11 name: Analyze
12 runs-on: ubuntu-latest
13 if: github.event_name != 'schedule' || github.repository == 'redis/redis'
14
15 strategy:
16 fail-fast: false
17 matrix:
18 language: [ 'cpp' ]
19
20 steps:
21 - name: Checkout repository
22 uses: actions/checkout@v4
23
24 - name: Initialize CodeQL
25 uses: github/codeql-action/init@v3
26 with:
27 languages: ${{ matrix.language }}
28
29 - name: Autobuild
30 uses: github/codeql-action/autobuild@v3
31
32 - name: Perform CodeQL Analysis
33 uses: github/codeql-action/analyze@v3