From 942a663cf87485a76123be9f36a87e1cccdf0f8a Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> Date: Fri, 20 Dec 2024 18:07:47 +0100 Subject: [PATCH] revert: remove the addition of Dependabot security (#343) Refs: 508d0d9b83825af9ac429e98993ee9479f70fb9c, a860e4a461bb40df1ff5501185cda4687acc1f60 --- lib/repository.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/lib/repository.ts b/lib/repository.ts index 817d935..f5d10df 100644 --- a/lib/repository.ts +++ b/lib/repository.ts @@ -11,7 +11,6 @@ import { DataGithubRepository } from "@cdktf/provider-github/lib/data-github-rep import { IssueLabel } from "@cdktf/provider-github/lib/issue-label"; import { BranchProtection } from "@cdktf/provider-github/lib/branch-protection"; import { TeamRepository } from "@cdktf/provider-github/lib/team-repository"; -import { RepositoryDependabotSecurityUpdates } from "@cdktf/provider-github/lib/repository-dependabot-security-updates"; import { RepositoryWebhook } from "@cdktf/provider-github/lib/repository-webhook"; export interface ITeam { @@ -166,13 +165,6 @@ export class GithubRepository extends Construct { ...config, repository: this.resource, }); - - if (!name.endsWith("-go")) { - new RepositoryDependabotSecurityUpdates(this, "dependabot-security", { - repository: this.resource.fullName, - enabled: true, - }); - } } addSecret(name: string) { @@ -202,12 +194,5 @@ export class GithubRepositoryFromExistingRepository extends Construct { ...config, repository: this.resource, }); - - if (!config.repositoryName.endsWith("-go")) { - new RepositoryDependabotSecurityUpdates(this, "dependabot-security", { - repository: this.resource.fullName, - enabled: true, - }); - } } }