File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 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/bandit-report-artifacts@v0.0.2
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
You can’t perform that action at this time.
0 commit comments