Skip to content

Commit 626ad12

Browse files
committed
ci: ♻️ updated snyk arg to get project paths
1 parent 56574e4 commit 626ad12

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/sca-scan.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ jobs:
66
security:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@master
9+
- name: Checkout repository
10+
uses: actions/checkout@master
11+
- name: Run Dotnet Restore
12+
run: |
13+
dotnet restore
1014
- name: Run Snyk to check for vulnerabilities
1115
uses: snyk/actions/dotnet@master
1216
env:
1317
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1418
with:
15-
args: --fail-on=all
19+
args: --file=Contentstack.Management.Core/obj/project.assets.json

0 commit comments

Comments
 (0)