refactor: unify branch validation imports across provider components

- Added the `VALID_BRANCH_REGEX` import to all Git provider components to ensure consistent branch validation.
- Removed duplicate imports of `VALID_BRANCH_REGEX` to streamline the code and improve readability.

This change enhances maintainability by centralizing branch validation logic across the application.
This commit is contained in:
Mauricio Siu
2026-06-06 03:38:25 -06:00
parent 4f6e57cc9c
commit a3c8b3bd42
18 changed files with 23 additions and 24 deletions

View File

@@ -1,4 +1,3 @@
import { paths } from "@dokploy/server/constants";
import { relations, sql } from "drizzle-orm";
import {
boolean,