[gh suggestions] change license link, make it details (#22946)

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
This commit is contained in:
nicole mazzuca 2022-02-10 11:19:11 -08:00 committed by GitHub
parent 5662ef4f7e
commit 05c445c1fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,10 +108,12 @@ jobs:
}
if (missing_license !== "") {
output += 'You have modified or added at least one vcpkg.json where a "license" field is missing.\n'
output += 'If you feel able to do so, please consider adding a "license" field to the following files:\n'
output += "<details>\n\n"
output += 'If you feel able to do so, please consider adding a "license" field to the following files:\n'
output += missing_license
output += "\n\nValid values for the license field are listed at <https://spdx.org/licenses/>\n\n"
output += "\n\nValid values for the license field can be found in the [documentation](https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/manifest-files.md#license)\n"
output += "</details>\n\n"
}
if (approve) {