chore: add CI, pre-commit, dependabot, and codeql workflows for automated code quality and security checks

This commit is contained in:
sankalp committed 2025-10-29 12:07:07 +05:45
1 parent 6bf155b595
commit 09be9c9e65
6 files changed
+193

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
name: Pre-commit
on:
pull_request:
push:
branches: [ main, develop ]
jobs:
pre-commit:
name: Run Pre-commit Hooks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install pre-commit
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Run pre-commit
run: |
pre-commit run --all-files