File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 99 - cron : ' 0 8 * * MON'
1010 workflow_dispatch :
1111
12+ env :
13+ SKIP_POLLY_ANALYZERS : true
14+
1215permissions :
1316 actions : read
1417 contents : read
Original file line number Diff line number Diff line change 11<Project >
2- <ItemGroup Label =" Analyzers" >
2+ <ItemGroup Label =" Analyzers" Condition = " '$(SKIP_POLLY_ANALYZERS)' == '' " >
33 <PackageReference Include =" Microsoft.CodeAnalysis.BannedApiAnalyzers" PrivateAssets =" All" />
44 <PackageReference Include =" SonarAnalyzer.CSharp" PrivateAssets =" All" />
55 <PackageReference Include =" StyleCop.Analyzers" PrivateAssets =" All" IncludeAssets =" runtime; build; native; contentfiles; analyzers; buildtransitive" />
99 <EditorConfigFiles Include =" $(MsBuildThisFileDirectory)analyzers\$(ProjectType).globalconfig" />
1010 </ItemGroup >
1111
12- <PropertyGroup >
12+ <PropertyGroup Condition = " '$(SKIP_POLLY_ANALYZERS)' == '' " >
1313 <RunAnalyzers >true</RunAnalyzers >
1414 <RunAnalyzersDuringBuild >true</RunAnalyzersDuringBuild >
1515 <EnforceCodeStyleInBuild >true</EnforceCodeStyleInBuild >
You can’t perform that action at this time.
0 commit comments