Add System.Text.Json to Dependabot (#7390)

This commit is contained in:
Justin Anderson 2024-10-02 14:37:52 -07:00 коммит произвёл GitHub
Родитель eae49e3919
Коммит e4a09fe4f9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
5 изменённых файлов: 19 добавлений и 2 удалений

9
.github/dependabot.template.yml поставляемый
Просмотреть файл

@ -39,7 +39,8 @@ updates:
target-branch: #@ branch.name
ignore:
- dependency-name: "Microsoft.Extensions.*"
update-types: [ "version-update:semver-major" ]
update-types:
- "version-update:semver-major"
#@ if branch.majorVersion == "6":
#! The IdentityModel libraries bring in System.Text.Json 8+ starting with 7.7.0.
#! Keep the major and minor version pinned to avoid incompatible versions.
@ -48,6 +49,9 @@ updates:
- "version-update:semver-major"
- "version-update:semver-minor"
#@ end
- dependency-name: System.Text.Json
update-types:
- "version-update:semver-major"
- dependency-name: "Moq"
commit-message:
prefix: #@ commit_prefix
@ -76,7 +80,8 @@ updates:
target-branch: #@ branch.name
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-major" ]
update-types:
- "version-update:semver-major"
commit-message:
prefix: #@ commit_prefix
groups:

9
.github/dependabot.yml поставляемый
Просмотреть файл

@ -14,6 +14,9 @@ updates:
- dependency-name: Microsoft.Extensions.*
update-types:
- version-update:semver-major
- dependency-name: System.Text.Json
update-types:
- version-update:semver-major
- dependency-name: Moq
commit-message:
prefix: '[main] '
@ -91,6 +94,9 @@ updates:
- dependency-name: Microsoft.Extensions.*
update-types:
- version-update:semver-major
- dependency-name: System.Text.Json
update-types:
- version-update:semver-major
- dependency-name: Moq
commit-message:
prefix: '[release/8.0] '
@ -172,6 +178,9 @@ updates:
update-types:
- version-update:semver-major
- version-update:semver-minor
- dependency-name: System.Text.Json
update-types:
- version-update:semver-major
- dependency-name: Moq
commit-message:
prefix: '[release/6.x] '

Просмотреть файл

@ -29,5 +29,6 @@
<PackageVersion Include="System.CommandLine" Version="$(SystemCommandLineVersion)" />
<PackageVersion Include="System.Private.Uri" Version="$(SystemPrivateUriVersion)" />
<PackageVersion Include="System.Security.Principal.Windows" Version="$(SystemSecurityPrincipalWindowsVersion)" />
<PackageVersion Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
</ItemGroup>
</Project>

Просмотреть файл

@ -11,6 +11,7 @@
<PackageReference Include="Azure.Storage.Queues" Version="$(AzureStorageQueuesVersion)" />
<PackageReference Include="System.Private.Uri" Version="$(SystemPrivateUriVersion)" />
<PackageReference Include="System.Security.Principal.Windows" Version="$(SystemSecurityPrincipalWindowsVersion)" />
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion) />
<PackageReference Include="Microsoft.OpenApi.Readers" Version="$(MicrosoftOpenApiReadersVersion)" />
<PackageReference Include="Microsoft.Identity.Web" Version="$(MicrosoftIdentityWebVersion)" />

Просмотреть файл

@ -10,6 +10,7 @@
<MicrosoftOpenApiReadersVersion>1.6.22</MicrosoftOpenApiReadersVersion>
<SystemPrivateUriVersion>4.3.2</SystemPrivateUriVersion>
<SystemSecurityPrincipalWindowsVersion>5.0.0</SystemSecurityPrincipalWindowsVersion>
<SystemTextJsonVersion>8.0.4</SystemTextJsonVersion>
<!-- Third-party references -->
<NewtonsoftJsonVersion>13.0.3</NewtonsoftJsonVersion>