This repository was archived by the owner on Aug 31, 2025. It is now read-only.
CodeQL #515
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "CodeQL" | |
| on: | |
| push: | |
| branches: '*' | |
| pull_request: | |
| branches: '*' | |
| paths-ignore: | |
| - '**/*.md' | |
| - '**/*.rst' | |
| schedule: | |
| - cron: "3 2 * * 2" | |
| jobs: | |
| analyze: | |
| timeout-minutes: 20 | |
| name: Analyze | |
| runs-on: ubuntu-20.04 | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies to help the code scanner | |
| run: pip install .[dev] | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v3 | |
| with: | |
| languages: python | |
| config-file: ./.github/codeql/codeql-config.yml | |
| queries: +security-and-quality | |
| # Manually install deps, as CodeQL tries to install the empty requirements.txt | |
| setup-python-dependencies: false | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v2 |