Skip to content

Commit eb56607

Browse files
Update cve-scanning-python.yml - replaced deprecated command
1 parent 3134604 commit eb56607

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: CVE Scanning for Python
22

33
on:
4+
workflow_dispatch:
45
schedule:
56
- cron: '0 8,18 * * 1-5'
67
push:
@@ -28,5 +29,5 @@ jobs:
2829
- name: Install safety
2930
run: pip3 install safety
3031
- name: Scan CVEs
31-
run: safety check -r requirements.txt --full-report --policy-file safety-policy.yml
32+
run: safety scan -r requirements.txt --full-report --policy-file safety-policy.yml
3233
working-directory: .

0 commit comments

Comments
 (0)