Skip to content

Commit 0229cdd

Browse files
committed
sca-scan.yml
1 parent 938b429 commit 0229cdd

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/sca-scan.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,13 @@ on:
33
pull_request:
44
types: [opened, synchronize, reopened]
55
jobs:
6-
security:
6+
security-sca:
77
runs-on: ubuntu-latest
88
steps:
9-
- name: Checkout repository
10-
uses: actions/checkout@master
11-
- name: Run Dotnet Restore
12-
run: |
13-
dotnet restore
9+
- uses: actions/checkout@master
1410
- name: Run Snyk to check for vulnerabilities
1511
uses: snyk/actions/dotnet@master
1612
env:
1713
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1814
with:
19-
args: --file=Contentstack.Management.Core/obj/project.assets.json --fail-on=all
15+
args: --fail-on=all

0 commit comments

Comments
 (0)