Enhance failure message to include GHAS note

This commit is contained in:
Chad Bentz
2023-01-05 17:26:46 +00:00
parent 4b2cf01947
commit e6aba92fb0
+1 -1
View File
@@ -76,7 +76,7 @@ async function run(): Promise<void> {
) )
} else if (error instanceof RequestError && error.status === 403) { } else if (error instanceof RequestError && error.status === 403) {
core.setFailed( core.setFailed(
`Dependency review is not supported on this repository. Please ensure that Dependency graph is enabled, see https://github.com/${github.context.repo.owner}/${github.context.repo.repo}/settings/security_analysis` `Dependency review is not supported on this repository. Please ensure that Dependency graph is enabled along with GitHub Advanced Security on private repositories, see https://github.com/${github.context.repo.owner}/${github.context.repo.repo}/settings/security_analysis`
) )
} else { } else {
if (error instanceof Error) { if (error instanceof Error) {