From 31b244ff46d4cc923a9b152f8ffcf7382ce9134b Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Date: Thu, 15 Aug 2024 13:37:25 +0200 Subject: [PATCH 1/2] chore: enable vulnerability alerts --- lib/repository.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/repository.ts b/lib/repository.ts index 729fa01..b0244eb 100644 --- a/lib/repository.ts +++ b/lib/repository.ts @@ -156,6 +156,7 @@ export class GithubRepository extends Construct { allowUpdateBranch: true, squashMergeCommitMessage: "PR_BODY", squashMergeCommitTitle: "PR_TITLE", + vulnerabilityAlerts: true, topics, provider, }); From 1e6ce4b9bb9ec3c5eab31abfa256584c0a6a2642 Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Date: Thu, 15 Aug 2024 13:43:00 +0200 Subject: [PATCH 2/2] chore: enable vulnerability alerts only for non-go repositories --- lib/repository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repository.ts b/lib/repository.ts index b0244eb..f5d10df 100644 --- a/lib/repository.ts +++ b/lib/repository.ts @@ -156,7 +156,7 @@ export class GithubRepository extends Construct { allowUpdateBranch: true, squashMergeCommitMessage: "PR_BODY", squashMergeCommitTitle: "PR_TITLE", - vulnerabilityAlerts: true, + vulnerabilityAlerts: !name.endsWith("-go"), topics, provider, });