Skip to content

ci: add ruff, pip-audit, CodeQL, and least-privilege permissions #5

ci: add ruff, pip-audit, CodeQL, and least-privilege permissions

ci: add ruff, pip-audit, CodeQL, and least-privilege permissions #5

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "31 4 * * 1" # weekly, Monday 04:31 UTC
permissions:
contents: read
security-events: write
jobs:
analyze:
name: analyze (python)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: python
- uses: github/codeql-action/analyze@v3
with:
category: "/language:python"