Skip to content
Merged
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
21 changes: 4 additions & 17 deletions .github/workflows/bandit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,16 @@ permissions: {}
jobs:
bandit:
permissions:
contents: read
pull-requests: write
security-events: write
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]

steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Run Bandit Scan
uses: lukehinds/bandit-action@new-action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: PyCQA/bandit-action@v1
with:
path: "python"
recursive: "true"
python-version: ${{ matrix.python-version }}
targets: python
Loading