From e65e36b81b054ee68ee051aeb268813a502c2504 Mon Sep 17 00:00:00 2001 From: Eduardo Chiarotti Date: Thu, 15 Aug 2024 17:47:54 -0300 Subject: [PATCH] feat: Add bandit ci pipeline --- .github/workflows/security-checker.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/security-checker.yml 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/