From a2e9f8bc2e604806cf06c4d6a11be2eb20be2785 Mon Sep 17 00:00:00 2001 From: Johanna Ahlskog Date: Thu, 14 Sep 2023 12:43:24 +0200 Subject: [PATCH] Changed github variable --- src/cydigconfig.json | 2 +- src/helpfunctions/JsonService.ts | 2 +- src/types/CyDigConfig.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cydigconfig.json b/src/cydigconfig.json index 22824a2e..834985e4 100644 --- a/src/cydigconfig.json +++ b/src/cydigconfig.json @@ -9,7 +9,7 @@ "date": "2023-09-07", "boardsTag": "PT" }, - "githubDevOps": { + "github": { "usingRepos": true, "repos": { "username": "firstname.lastname (usually)" diff --git a/src/helpfunctions/JsonService.ts b/src/helpfunctions/JsonService.ts index c367dbaa..05ef3f41 100644 --- a/src/helpfunctions/JsonService.ts +++ b/src/helpfunctions/JsonService.ts @@ -29,7 +29,7 @@ export function validateConfig(config: unknown): void { date: Joi.string().required(), boardsTag: Joi.string().required(), }).required(), - githubDevOps: Joi.object({ + github: Joi.object({ usingRepos: Joi.boolean().required(), repos: Joi.object({ username: Joi.string().required(), diff --git a/src/types/CyDigConfig.ts b/src/types/CyDigConfig.ts index 47f3da04..4b448cae 100644 --- a/src/types/CyDigConfig.ts +++ b/src/types/CyDigConfig.ts @@ -9,7 +9,7 @@ export type CyDigConfig = { date: string; boardsTag: string; }; - githubDevOps: { + github: { usingRepos: boolean; repos: { username: string;