feat: Add bandit ci pipeline

This commit is contained in:
Eduardo Chiarotti
2024-08-15 17:47:54 -03:00
parent 92a77e5cac
commit e65e36b81b

22
.github/workflows/security-checker.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Security Checker
on: [pull_request]
jobs:
security-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11.9"
- name: Install dependencies
run: pip install bandit
- name: Run Bandit
run: bandit -r src/