Skip to content

refactor: formatting #2

refactor: formatting

refactor: formatting #2

---
name: CodeQL
on:
push:
branches:
- main
- dev
pull_request:
workflow_dispatch:
# schedule:
# - cron: "20 10 * * 0"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["python"]
steps:
# https://github.com/actions/checkout
- name: Checkout repository
uses: actions/checkout@v4
# https://github.com/github/codeql-action
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# https://github.com/github/codeql-action
- name: Autobuild
uses: github/codeql-action/autobuild@v3
# https://github.com/github/codeql-action
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"