Debian Codegraph @

.github/workflows/codeql.yml

raw symbols SCIP
1 name: CodeQL
2 on:
3 push:
4 pull_request:
5 schedule:
6 - cron: '0 1 * * 4'
7 concurrency:
8 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9 cancel-in-progress: true
10 jobs:
11 analyze:
12 name: Analyze
13 runs-on: ubuntu-latest
14 permissions:
15 actions: read
16 contents: read
17 security-events: write
18 steps:
19 - name: Checkout repository
20 uses: actions/checkout@v4
21 with:
22 # We must fetch at least the immediate parents so that if this is
23 # a pull request then we can checkout the head.
24 fetch-depth: 2
25
26 # Initializes the CodeQL tools for scanning.
27 - name: Initialize CodeQL
28 uses: github/codeql-action/init@v3
29
30 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
31 # If this step fails, then you should remove it and run the build manually (see below)
32 - name: Autobuild
33 uses: github/codeql-action/autobuild@v3
34
35 - name: Perform CodeQL Analysis
36 uses: github/codeql-action/analyze@v3