Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CodeQL

# Standard CodeQL code scanning for the Python scripts and the GitHub Actions workflows.
# Results appear under Security -> Code scanning. Free on public repos; the `if:` guard skips
# it (instead of failing) if the repo is ever made private without Advanced Security.
on:
push: { branches: [main] }
pull_request:
schedule: [{ cron: "0 6 * * 1" }]
workflow_dispatch:

permissions: { contents: read, security-events: write }

jobs:
analyze:
if: ${{ !github.event.repository.private }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [python, actions]
steps:
- uses: actions/checkout@v7
- uses: github/codeql-action/init@v4
with: { languages: "${{ matrix.language }}", build-mode: none }
- uses: github/codeql-action/analyze@v4
with: { category: "/language:${{ matrix.language }}" }
Loading