Skip to content

Commit a3d4153

Browse files
authored
Add bandit scan (#386)
1 parent af92812 commit a3d4153

File tree

3 files changed

+417
-3
lines changed

3 files changed

+417
-3
lines changed

.github/workflows/bandit.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: python -m bandit --recursive --configfile bandit.yml .
2+
on:
3+
pull_request:
4+
paths-ignore:
5+
- 'thirdparty'
6+
- '**.md'
7+
jobs:
8+
bandit:
9+
runs-on: ubuntu-20.04
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-python@v4
13+
with:
14+
python-version: 3.11
15+
- run: python -m pip install bandit
16+
- run: python -m bandit --recursive --configfile bandit.yml .

0 commit comments

Comments
 (0)