Skip to content

fix Codeql.yml

fix Codeql.yml #13

Workflow file for this run

name: "CodeQL Python Security Scan (Top-N)"
on:
pull_request:
branches: [ main, master ]
types: [opened, synchronize, reopened]
push:
branches: [ main, master ]
permissions:
contents: read
actions: read
security-events: write
jobs:
codeql-analysis:
name: "CodeQL Analysis (Python)"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: python
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
upload: true