File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ name: List vulnerable packages
22
33on :
44 workflow_dispatch :
5- # Currently broken on .net 8, see https://github.com/NuGet/Home/issues/12954
6- # schedule:
7- # - cron: "0 0 * * *" # once a day
8- # pull_request:
5+ schedule :
6+ - cron : " 0 0 * * *" # once a day
7+ pull_request :
98
109jobs :
1110 list-vulnerable-packages :
@@ -26,11 +25,11 @@ jobs:
2625 - name : Restore .NET Dependencies
2726 run : dotnet restore Sentry.sln --nologo
2827
29- # The dotnet list package command doesn't change its exit code on detection, so tee to a file and scan it
28+ # The dotnet package list command doesn't change its exit code on detection, so tee to a file and scan it
3029 # See https://github.com/NuGet/Home/issues/11315#issuecomment-1243055173
3130 - name : List vulnerable packages
3231 shell : bash
3332 run : |
34- dotnet list ${{ github.workspace }}/ Sentry.sln package --vulnerable --include-transitive | tee vulnerable.txt
33+ dotnet package list --project Sentry.sln --vulnerable --include-transitive --no-restore | tee vulnerable.txt
3534 # https://github.com/getsentry/sentry-dotnet/issues/2814
3635 # ! grep 'has the following vulnerable packages' vulnerable.txt
You can’t perform that action at this time.
0 commit comments