From e6aba92fb0bf7f19a97cacc92b420cd35b3809b6 Mon Sep 17 00:00:00 2001 From: Chad Bentz <1760475+felickz@users.noreply.github.com> Date: Thu, 5 Jan 2023 17:26:46 +0000 Subject: [PATCH] Enhance failure message to include GHAS note --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 64daedb..e1c5808 100644 --- a/src/main.ts +++ b/src/main.ts @@ -76,7 +76,7 @@ async function run(): Promise { ) } else if (error instanceof RequestError && error.status === 403) { 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 { if (error instanceof Error) {