| name: CodeQL |
|
|
| on: |
| push: |
| branches: [main] |
| pull_request: |
| branches: [main] |
| schedule: |
| - cron: "23 4 * * 2" |
| workflow_dispatch: |
|
|
| env: |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" |
|
|
| permissions: |
| contents: read |
| security-events: write |
|
|
| concurrency: |
| group: codeql-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
| cancel-in-progress: true |
|
|
| jobs: |
| analyze: |
| name: CodeQL (Python) |
| runs-on: ubuntu-latest |
| timeout-minutes: 20 |
| steps: |
| - name: Checkout |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 |
| with: |
| lfs: false |
| persist-credentials: false |
|
|
| - name: Initialize CodeQL |
| uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 |
| with: |
| languages: python |
| config-file: ./.github/codeql/codeql-config.yml |
|
|
| - name: Analyze |
| uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 |
| with: |
| category: /language:python |
|
|