Skip to content

grader versions with metadata headers #24

grader versions with metadata headers

grader versions with metadata headers #24

Workflow file for this run

name: Bandit
permissions:
contents: read
on:
workflow_dispatch:
push:
paths:
- "**.py"
branches:
- main
- dev
- "ver_*"
pull_request:
paths:
- "**.py"
branches:
- main
- dev
- "ver_*"
jobs:
analyze:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
steps:
- uses: actions/checkout@v6 # v6
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v6 # v6
with:
python-version: "3.14"
- name: Install dependencies
run: |
python -m pip install --upgrade pip==25.3
python -m pip install bandit
pip install -e ".[dev,test]"
- name: Analyze package with bandit
run: |
bandit -r src -ll -ii -s B104
- name: Security Scan Summary
run: |
echo "✅ Bandit security scan completed successfully"