ci: add CodeQL, pre-commit, and labeler workflows

- CodeQL: Python security analysis on push/PR + weekly schedule
- Pre-commit: ruff lint/format checks on push/PR
- Labeler: auto-label PRs based on changed files
This commit is contained in:
sankalp committed 2026-07-12 20:15:10 +05:45
1 parent d0e1f7090a
commit c445b2e2a4
3 files changed
+81

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
name: Pre-commit
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@v4
- uses: pre-commit/action@v3.0.1