Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
# # GitHub Actions Bandit Workflow
# GitHub Actions Bandit Workflow
name: Bandit

# name: Bandit
on:
pull_request:
branches: [ main ]

# on:
# pull_request:
# branches: [ main ]
workflow_dispatch:

# workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest

# jobs:
# build:
# runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# steps:
# - uses: actions/checkout@v2

# # Task will fail if any high-severity issues are found
# # Ignoring submodules
# - name: Run Bandit Security Analysis
# run: |
# python -m pip install bandit
# python -m bandit -r . -x ./third_party -lll
# Task will fail if any high-severity issues are found
# Ignoring submodules
- name: Run Bandit Security Analysis
run: |
python -m pip install bandit
python -m bandit -r . -x ./third_party -lll