Skip to content

Commit 17d203b

Browse files
committed
Add safety check
1 parent 917812d commit 17d203b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Security Scan
2+
on:
3+
push:
4+
# schedule:
5+
# - cron: '0 0 * * 0' # Weekly
6+
jobs:
7+
scan:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
12+
- uses: actions/setup-python@v4
13+
with:
14+
python-version: '3.11'
15+
16+
- name: Install Safety
17+
run: pip install safety
18+
19+
- name: Run Safety Scan
20+
run: safety check --full-report

0 commit comments

Comments
 (0)