Debian Codegraph @

.github/workflows/codeql.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 permissions:
15 contents: read
16
17 on:
18 push:
19 branches: [ "master" ]
20 pull_request:
21 branches: [ "master" ]
22 schedule:
23 - cron: '39 1 * * 6'
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
42 with:
43 persist-credentials: false
44
45 # Initializes the CodeQL tools for scanning.
46 - name: Initialize CodeQL
47 uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5
48 with:
49 languages: ${{ matrix.language }}
50
51 # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
52 # If this step fails, then you should remove it and run the build manually (see below)
53 - name: Autobuild
54 uses: github/codeql-action/autobuild@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5
55
56 - name: Perform CodeQL Analysis
57 uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v3.29.5
58 with:
59 category: "/language:${{matrix.language}}"