Add codeql checks (#338)

This commit is contained in:
Teemu R 2022-04-25 14:45:53 +02:00 committed by GitHub
parent 51fb908d8b
commit 604520dcaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

35
.github/workflows/codeql-analysis.yml vendored Normal file
View File

@ -0,0 +1,35 @@
name: "CodeQL checks"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '44 17 * * 3'
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@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2