diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml new file mode 100644 index 00000000..f6b4ea22 --- /dev/null +++ b/.github/workflows/codeql.yaml @@ -0,0 +1,24 @@ +--- +name: codeQL + +on: + push: + branches: [main] + pull_request: + branches: [main] + workflow_dispatch: {} + +jobs: + analyze: + name: Static analysis with CodeQL + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: python + + - name: Build and analyze + uses: github/codeql-action/analyze@v2