Skip to content

Commit 6f30c05

Browse files
Update cve-scanning-python.yml - added reference to the safety's api key
1 parent eb56607 commit 6f30c05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cve-scanning-python.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727
- name: Freeze installed dependencies
2828
run: pip freeze > requirements.txt
2929
- name: Install safety
30-
run: pip3 install safety
30+
run: pip install safety
3131
- name: Scan CVEs
32+
env:
33+
SAFETY_API_KEY: ${{ secrets.SAFETY_API_KEY }}
3234
run: safety scan -r requirements.txt --full-report --policy-file safety-policy.yml
3335
working-directory: .

0 commit comments

Comments
 (0)