Skip to content

feat(bandit): Fix all bandit findings #14

feat(bandit): Fix all bandit findings

feat(bandit): Fix all bandit findings #14

Workflow file for this run

# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: bandit
on:
pull_request: {}
workflow_dispatch: {}
push:
branches:
- main
schedule:
- cron: 20 17 * * *
jobs:
bandit:
name: bandit/ci
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
security-events: write
actions: read
if: (github.actor != 'dependabot[bot]')
steps:
- name: Checkout project
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Setup Python
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
with:
python-version: 3.x
- name: Run Bandit
run: pip install bandit && bandit --recursive --format html --output bandit-report.html --exit-zero .
- name: Store Bandit as Artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
name: bandit-report.html
path: bandit-report.html