Skip to content

Commit 66cb1fb

Browse files
authored
Merge pull request #186 from dorssel/fix_dependabot
Fix Dependabot
2 parents 475d526 + d9766be commit 66cb1fb

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.gitattributes

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
.gitignore text
1010
.editorconfig text
1111

12-
dep5 text
13-
1412
*.txt text
1513
*.md text
1614
*.license text
@@ -28,3 +26,6 @@ dep5 text
2826
*.xml text
2927

3028
*.snk binary
29+
30+
dep5 text
31+
packages.lock.json text linguist-generated

Directory.Build.props

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ SPDX-License-Identifier: MIT
3737
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\strongname.snk</AssemblyOriginatorKeyFile>
3838
<GenerateDocumentationFile>true</GenerateDocumentationFile>
3939

40+
<!-- GitVersion will handle this -->
41+
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
42+
4043
<!-- Bump MSTest.Sdk "transitive" dependencies (they are actually direct dependencies) -->
4144
<MicrosoftTestingExtensionsCodeCoverageVersion>18.8.0</MicrosoftTestingExtensionsCodeCoverageVersion>
4245

@@ -60,6 +63,12 @@ SPDX-License-Identifier: MIT
6063
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
6164
</PropertyGroup>
6265

66+
<!-- Required for Dependabot -->
67+
<PropertyGroup Label="Dependabot" Condition="'$(DEPENDABOT)' == 'true'">
68+
<RestoreLockedMode>false</RestoreLockedMode>
69+
<GitVersion_AllowShallowEnabled>true</GitVersion_AllowShallowEnabled>
70+
</PropertyGroup>
71+
6372
<ItemGroup>
6473
<PackageReference Include="GitVersion.MsBuild" PrivateAssets="all" />
6574
</ItemGroup>

0 commit comments

Comments
 (0)