Fix the dep checker: the windows-rs repository moved its license files. (#5034)

Also re-run the dependency checker when the summary script changes.
This commit is contained in:
Mark Hammond 2022-07-08 16:58:00 +10:00 коммит произвёл GitHub
Родитель 2bb16fd29d
Коммит aeed512707
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 11 добавлений и 9 удалений

2
.github/workflows/dependency-check.yaml поставляемый
Просмотреть файл

@ -9,6 +9,7 @@ on:
- '**requirements.txt' - '**requirements.txt'
- '**DEPENDENCIES.md' - '**DEPENDENCIES.md'
- '**dependency-licenses.xml' - '**dependency-licenses.xml'
- '**dependency_summary.py'
pull_request: pull_request:
branches: [ main ] branches: [ main ]
paths: paths:
@ -17,6 +18,7 @@ on:
- '**requirements.txt' - '**requirements.txt'
- '**DEPENDENCIES.md' - '**DEPENDENCIES.md'
- '**dependency-licenses.xml' - '**dependency-licenses.xml'
- '**dependency_summary.py'
schedule: schedule:
# Runs at 7:00 UTC every day # Runs at 7:00 UTC every day
- cron: '0 7 * * *' - cron: '0 7 * * *'

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

@ -482,15 +482,15 @@ the details of which are reproduced below.
</license> </license>
<license> <license>
<name>Apache License 2.0: windows-sys</name> <name>Apache License 2.0: windows-sys</name>
<url>https://github.com/microsoft/windows-rs/blob/master/.github/license-mit</url> <url>https://github.com/microsoft/windows-rs/blob/master/license-mit</url>
</license> </license>
<license> <license>
<name>Apache License 2.0: windows_x86_64_gnu</name> <name>Apache License 2.0: windows_x86_64_gnu</name>
<url>https://github.com/microsoft/windows-rs/blob/master/.github/license-mit</url> <url>https://github.com/microsoft/windows-rs/blob/master/license-mit</url>
</license> </license>
<license> <license>
<name>Apache License 2.0: windows_x86_64_msvc</name> <name>Apache License 2.0: windows_x86_64_msvc</name>
<url>https://github.com/microsoft/windows-rs/blob/master/.github/license-mit</url> <url>https://github.com/microsoft/windows-rs/blob/master/license-mit</url>
</license> </license>
<license> <license>
<name>MIT License: aho-corasick</name> <name>MIT License: aho-corasick</name>

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

@ -351,8 +351,8 @@ PACKAGE_METADATA_FIXUPS = {
}, },
"license_file": { "license_file": {
"check": None, "check": None,
"fixup": "https://raw.githubusercontent.com/microsoft/windows-rs/master/.github/license-mit", "fixup": "https://raw.githubusercontent.com/microsoft/windows-rs/master/license-mit",
} },
}, },
"windows_x86_64_msvc": { "windows_x86_64_msvc": {
"repository": { "repository": {
@ -360,8 +360,8 @@ PACKAGE_METADATA_FIXUPS = {
}, },
"license_file": { "license_file": {
"check": None, "check": None,
"fixup": "https://raw.githubusercontent.com/microsoft/windows-rs/master/.github/license-mit", "fixup": "https://raw.githubusercontent.com/microsoft/windows-rs/master/license-mit",
} },
}, },
"windows_x86_64_gnu": { "windows_x86_64_gnu": {
"repository": { "repository": {
@ -369,8 +369,8 @@ PACKAGE_METADATA_FIXUPS = {
}, },
"license_file": { "license_file": {
"check": None, "check": None,
"fixup": "https://raw.githubusercontent.com/microsoft/windows-rs/master/.github/license-mit", "fixup": "https://raw.githubusercontent.com/microsoft/windows-rs/master/license-mit",
} },
}, },
"kernel32-sys": { "kernel32-sys": {
"repository": { "repository": {