fix: bump simple-git to 3.32.3 and use ConfigService for giteaApiBaseUrl
Some checks failed
ci/woodpecker/push/ci Pipeline failed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 22:44:03 -05:00
parent 6e2b9a307e
commit 639abfaefa
3 changed files with 11 additions and 7 deletions

View File

@@ -12,7 +12,10 @@ export interface ReviewResult {
@Injectable()
export class GatekeeperService {
private readonly logger = new Logger(GatekeeperService.name);
private readonly giteaApiBaseUrl = "https://git.mosaicstack.dev/api/v1";
private get giteaApiBaseUrl(): string {
return `${this.configService.getOrThrow<string>('GITEA_URL')}/api/v1`;
}
constructor(
private readonly prisma: PrismaService,

View File

@@ -37,7 +37,7 @@
"ioredis": "^5.9.2",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"simple-git": "^3.27.0",
"simple-git": "^3.32.3",
"zod": "^3.24.1"
},
"devDependencies": {