Debian Codegraph @

ansible_collections/cisco/mso/.github/workflows/codeql-analysis.yml

raw
1 name: "CodeQL"
2
3 on:
4 push:
5 branches: [master]
6
7 schedule:
8 - cron: '40 8 * * 5'
9
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
19 strategy:
20 fail-fast: false
21 matrix:
22 language: [python]
23 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
24 # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
25
26 steps:
27 - name: Checkout repository
28 uses: actions/checkout@v4
29
30 # Initializes the CodeQL tools for scanning.
31 - name: Initialize CodeQL
32 uses: github/codeql-action/init@v3
33 with:
34 languages: ${{ matrix.language }}
35 # If you wish to specify custom queries, you can do so here or in a config file.
36 # By default, queries listed here will override any specified in a config file.
37 # Prefix the list here with "+" to use these queries and those in the config file.
38
39 # Details on CodeQL's query packs refer to :
40 # 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
41 # queries: security-extended,security-and-quality
42
43 - name: Perform CodeQL Analysis
44 uses: github/codeql-action/analyze@v3