Skip to content

Commit

Permalink
Bandit eklendi
Browse files Browse the repository at this point in the history
  • Loading branch information
BozdoganMehmetozkan committed Aug 27, 2024
0 parents commit ecada95
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions bandit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Bandit Security Check

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
bandit:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install Bandit
run: pip install bandit

- name: Run Bandit
run: bandit -r your_project_directory

0 comments on commit ecada95

Please sign in to comment.