Skip to content

Commit 088cf71

Browse files
authored
Merge pull request #9 from febus982/ci-bandit
Add python bandit CI workflow
2 parents 441ef3f + 94cf62e commit 088cf71

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/python-bandit.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: Bandit checks
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
jobs:
15+
bandit:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- name: Security check - Bandit
22+
uses: ioggstream/[email protected]
23+
with:
24+
project_path: .
25+
config_file: .bandit.yml
26+
27+
# This is optional
28+
- name: Security check report artifacts
29+
uses: actions/upload-artifact@v1
30+
with:
31+
name: Security report
32+
path: output/security_report.txt

0 commit comments

Comments
 (0)