Skip to content

Configure basic workflows #3

Configure basic workflows

Configure basic workflows #3

Workflow file for this run

name: Bandit
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '40 5 * * 5'
jobs:
bandit:
permissions:
contents: read # for actions/checkout to fetch code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Bandit security scan
run: |
docker run --rm -v ${{ github.workspace }}:/tmp/scan_dir ghcr.io/pycqa/bandit/bandit -r /tmp/scan_dir