Debian Codegraph @

.github/workflows/codeql-analysis-python.yml

raw
1 # For most projects, this workflow file will not need changing; you simply need
2 # to commit it to your repository.
3 #
4 # You may wish to alter this file to override the set of languages analyzed,
5 # or to provide custom queries or build logic.
6 #
7 # ******** NOTE ********
8 # We have attempted to detect the languages in your repository. Please check
9 # the `language` matrix defined below to confirm you have the correct set of
10 # supported CodeQL languages.
11 #
12 name: "CodeQL"
13
14 on:
15 push:
16 branches: [main]
17 pull_request:
18 branches: [main]
19 paths-ignore:
20 - "**/*.md"
21 - "**/*.txt"
22 schedule:
23 - cron: "30 5 * * 0" # 5:30h on Sundays
24
25 jobs:
26 analyze:
27 name: Analyze
28 runs-on: ubuntu-latest
29 permissions:
30 actions: read
31 contents: read
32 security-events: write
33
34 strategy:
35 fail-fast: false
36 matrix:
37 language: ["python"]
38
39 steps:
40 - name: Checkout repository
41 uses: actions/checkout@v5
42
43 - name: Initialize CodeQL
44 uses: github/codeql-action/init@v3
45 with:
46 languages: ${{ matrix.language }}
47
48 - name: Perform CodeQL Analysis
49 uses: github/codeql-action/analyze@v3