diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:40:55 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:40:55 +0100 |
| commit | 5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda (patch) | |
| tree | 1acdfa5220cd13b7be43a2a01368e80d306473ca /examples/redis-unstable/.github/workflows/codeql-analysis.yml | |
| parent | c7ab12bba64d9c20ccd79b132dac475f7bc3923e (diff) | |
| download | crep-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.yml | 33 |
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 @@ | |||
| 1 | name: "CodeQL" | ||
| 2 | |||
| 3 | on: | ||
| 4 | pull_request: | ||
| 5 | schedule: | ||
| 6 | # run weekly new vulnerability was added to the database | ||
| 7 | - cron: '0 0 * * 0' | ||
| 8 | |||
| 9 | jobs: | ||
| 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 | ||
