Debian Codegraph @

.github/workflows/codeql.yaml

raw symbols SCIP
1 # Pyocd CodeQL workflow.
2
3 name: "CodeQL"
4
5 on:
6 push:
7 branches: [ main, develop ]
8 pull_request:
9 # The branches below must be a subset of the branches above
10 branches: [ main, develop ]
11 schedule:
12 - cron: '42 20 * * 6'
13
14 jobs:
15 analyze:
16 name: Analyze
17 runs-on: ubuntu-latest
18 permissions:
19 actions: read
20 contents: read
21 security-events: write
22
23 strategy:
24 fail-fast: false
25 matrix:
26 language: [ 'python' ]
27
28 steps:
29 - name: Checkout repository
30 uses: actions/checkout@v6
31
32 # Initializes the CodeQL tools for scanning.
33 - name: Initialize CodeQL
34 uses: github/codeql-action/init@v4
35 with:
36 languages: ${{ matrix.language }}
37 # If you wish to specify custom queries, you can do so here or in a config file.
38 # By default, queries listed here will override any specified in a config file.
39 # Prefix the list here with "+" to use these queries and those in the config file.
40 # queries: ./path/to/local/query, your-org/your-repo/queries@main
41
42 - name: Autobuild
43 uses: github/codeql-action/autobuild@v4
44
45 - name: Perform CodeQL Analysis
46 uses: github/codeql-action/analyze@v4