Skip to content

First draft in adding codeQL analysis #1

First draft in adding codeQL analysis

First draft in adding codeQL analysis #1

Workflow file for this run

name: Test CodeQL Analysis
on:
push:
branches:
- feat(ci-cd)/add-codeql-vulnerability-analysis-in-ci-cd
jobs:
analyze:
name: CodeQL Analysis
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: python
queries: security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:python"