summaryrefslogtreecommitdiffstats
path: root/.github/workflows/codeql.yml
blob: e89f8f5eec27f6f14aa9b8fce7f5d84b21259590 (plain) (blame)
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
name: "codeql"
on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
  schedule:
    - cron: '28 13 * * 5'
jobs:
  analyze:
    name: analyze
    runs-on: ubuntu-latest
    permissions:
      actions: read
      contents: read
      security-events: write
    strategy:
      fail-fast: false
      matrix:
        language: [ 'python' ]
    steps:
    - name: checkout repository
      uses: actions/checkout@v2
    - name: initialize codeql
      uses: github/codeql-action/init@v1
      with:
        languages: ${{ matrix.language }}
    - name: perform codeql analysis
      uses: github/codeql-action/analyze@v1