|
name: CodeQL |
|
|
|
on: |
|
push: |
|
branches: |
|
- main |
|
pull_request: |
|
branches: |
|
- main |
|
merge_group: |
|
types: |
|
- checks_requested |
|
workflow_dispatch: |
|
|
|
permissions: |
|
actions: read |
|
contents: read |
|
security-events: write |
|
|
|
jobs: |
|
analyze: |
|
name: Analyze Python |
|
runs-on: ubuntu-latest |
|
timeout-minutes: 15 |
|
|
|
steps: |
|
- name: Check out repository |
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
|
with: |
|
persist-credentials: false |
|
|
|
- name: Initialize CodeQL |
|
uses: github/codeql-action/init@1c5b675653bb5c22dbe9b12b556ec555138e09fd # v4.38.1 |
|
with: |
|
languages: python |
|
|
|
- name: Analyze |
|
uses: github/codeql-action/analyze@1c5b675653bb5c22dbe9b12b556ec555138e09fd # v4.38.1 |