summaryrefslogtreecommitdiff
path: root/.github/workflows/codeql.yml
blob: 245a7eb06938d24b0a0a6b760438f0e4a96c8f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: "CodeQL"

on:
  push:
    branches: ["main"]
  pull_request:
    branches: ["main"]
  schedule:
    - cron: "0 0 * * 5"

permissions: "read-all"

jobs:
  analyze:
    name: "Analyze"
    runs-on: "ubuntu-latest"
    permissions:
      actions: read
      contents: read
      security-events: write
    steps:
    - name: "Checkout repository"
      uses: "actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3"

    - name: "Run CodeQL init"
      uses: "github/codeql-action/init@04df1262e6247151b5ac09cd2c303ac36ad3f62b"
      with:
        config-file: "./.github/codeql.yml"
        languages: "python"

    - name: "Run CodeQL autobuild"
      uses: "github/codeql-action/autobuild@04df1262e6247151b5ac09cd2c303ac36ad3f62b"

    - name: "Run CodeQL analyze"
      uses: "github/codeql-action/analyze@04df1262e6247151b5ac09cd2c303ac36ad3f62b"