Skip to content

Create release.yml

Create release.yml #4

Workflow file for this run

name: SAST Code Scan
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
bandit-scan:
name: Custom Code Flaw Analysis
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout Repository
uses: actions/checkout@v4
- name: 🐍 Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: 📦 Install Bandit Security Analyzer
run: |
pip install bandit
- name: 🔍 Scan Source Code for Vulnerabilities
run: bandit -r . -ll -ii --exclude ./venv,./tests