Skip to content

Commit e880916

Browse files
authored
Create safety-scan.yml
1 parent e4747e0 commit e880916

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/safety-scan.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: scanning
2+
on:
3+
push: # Run on every push to any branch
4+
pull_request: # Run on new pull requests
5+
6+
jobs:
7+
security:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@main
11+
- name: Run Safety CLI to check for vulnerabilities
12+
uses: pyupio/safety-action@v1
13+
with:
14+
api-key: ${{ secrets.SAFETY_API_KEY }}

0 commit comments

Comments
 (0)