Debian Codegraph @

.github/workflows/codeql-analysis.yml

raw symbols SCIP
1 ---
2 name: "CodeQL"
3
4 on: # yamllint disable-line rule:truthy
5 push:
6 branches:
7 - main
8 pull_request:
9 branches:
10 - main
11 schedule:
12 - cron: "34 3 * * 2"
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 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
28 # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
29
30 steps:
31 - name: Checkout repository
32 uses: actions/checkout@v3
33
34 # Initializes the CodeQL tools for scanning.
35 - name: Initialize CodeQL
36 uses: github/codeql-action/init@v2
37 with:
38 languages: ${{ matrix.language }}
39 # If you wish to specify custom queries, you can do so here or in a config file.
40 # By default, queries listed here will override any specified in a config file.
41 # Prefix the list here with "+" to use these queries and those in the config file.
42
43 # yamllint disable-line rule:line-length
44 # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
45 # queries: security-extended,security-and-quality
46
47 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
48 # If this step fails, then you should remove it and run the build manually (see below)
49 - name: Autobuild
50 uses: github/codeql-action/autobuild@v2
51
52 # â„šī¸ Command-line programs to run using the OS shell.
53 # yamllint disable-line rule:line-length
54 # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
55
56 # If the Autobuild fails above, remove it and uncomment the following three lines.
57 # modify them (or add more) to build your code if your project, please refer to the EXAMPLE
58 # below for guidance.
59
60 # - run: |
61 # echo "Run, Build Application using script"
62 # ./location_of_script_within_repo/buildscript.sh
63
64 - name: Perform CodeQL Analysis
65 uses: github/codeql-action/analyze@v2