30 lines
756 B
YAML
30 lines
756 B
YAML
name: CodeQL Python Analysis
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
paths:
|
|
- "**/*.py"
|
|
|
|
jobs:
|
|
codeql-analysis:
|
|
name: CodeQL Python Analysis
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
|
|
with:
|
|
languages: python
|
|
config-file: ./.github/codeql/codeql-config.yml
|
|
|
|
- name: Run CodeQL Analysis
|
|
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
|
|
with:
|
|
category: "Analysis: Python"
|