xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.42k stars 507 forks source link

[release/9.0.1xx-preview6] [CI] Fix credscan in the sign step #20784

Closed dalexsoto closed 3 days ago

dalexsoto commented 3 days ago

Fixes

"PowerArgs.ValidationArgException: File not found - D:\a_work\1\s\xamarin-macios\tools\devops\governance\CredScanSuppressions.csk"

IMG_2524

The real issue is that the file does indeed not exist but in reality it is looking for 'CredScanSuppressions.json' which does not exist because there is not checkout of the repo happening when this step is run.

dalexsoto commented 3 days ago

Merging as this is needed for release and can only be tested on a CI build anyways