File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change 42
42
body : ${{ steps.changelog.outputs.clean_changelog }}
43
43
token : ${{ secrets.GITHUB_TOKEN }}
44
44
45
+ bandit :
46
+ name : SAST with Bandit
47
+ needs : changelog
48
+ if : github.event_name != 'pull_request' && needs.changelog.outputs.skipped == 'false'
49
+ runs-on : ubuntu-latest
50
+
51
+ steps :
52
+ - name : Checkout code
53
+ uses : actions/checkout@v4
54
+
55
+ - name : Set up Python
56
+ uses : actions/setup-python@v4
57
+ with :
58
+ python-version : ' 3.x'
59
+
60
+ - name : Install Bandit
61
+ run : pip install bandit
62
+
63
+ - name : Run Bandit
64
+ run : bandit -r linkedindumper.py --severity-level medium
65
+
45
66
deploy :
46
67
name : Deploy Image
47
- needs : changelog
68
+ needs : [ changelog, bandit]
48
69
if : github.event_name != 'pull_request' && needs.changelog.outputs.skipped == 'false'
49
70
runs-on : ubuntu-latest
50
71
91
112
92
113
release :
93
114
name : Release
94
- needs : changelog
115
+ needs : [ changelog, bandit]
95
116
if : github.event_name != 'pull_request' && needs.changelog.outputs.skipped == 'false'
96
117
runs-on : ubuntu-latest
97
118
You can’t perform that action at this time.
0 commit comments