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

+17
View File
@@ -0,0 +1,17 @@
name: Labeler
on:
pull_request_target:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}