More test cleanup #4
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: [main, dev] | |
| pull_request: | |
| workflow_dispatch: | |
| schedule: | |
| # A weekly run picks up new queries published after a change merged. | |
| - cron: "41 5 * * 2" | |
| permissions: {} | |
| jobs: | |
| analyze: | |
| name: Analyze Python | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| actions: read | |
| security-events: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8 | |
| with: | |
| languages: python | |
| # Python needs no compilation, so nothing is built before the database is created. | |
| build-mode: none | |
| # The config file carries the query suite and the one documented query exclusion. | |
| config-file: ./.github/codeql/codeql-config.yml | |
| - name: Perform CodeQL analysis | |
| uses: github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8 | |
| with: | |
| category: "/language:python" |