diff --git a/.github/workflows/security-checker.yml b/.github/workflows/security-checker.yml new file mode 100644 index 000000000..eff2b73e0 --- /dev/null +++ b/.github/workflows/security-checker.yml @@ -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/