Release URBM 2026.06.15.r012

This commit is contained in:
Mikei386
2026-06-15 07:45:05 +02:00
parent 0c507e0b64
commit 1c8d2202d4
9 changed files with 26 additions and 21 deletions
-5
View File
@@ -26,7 +26,6 @@ func ValidateConfig(c Config) error {
repos[repo.ID] = repo
}
jobs := make(map[string]struct{}, len(c.Jobs))
repositoryOwners := make(map[string]string, len(c.Jobs))
for _, job := range c.Jobs {
if err := ValidateJob(job); err != nil {
return fmt.Errorf("job %q: %w", job.ID, err)
@@ -38,10 +37,6 @@ func ValidateConfig(c Config) error {
if _, exists := repos[job.RepositoryID]; !exists {
return fmt.Errorf("job %q references unknown repository %q", job.ID, job.RepositoryID)
}
if owner, exists := repositoryOwners[job.RepositoryID]; exists {
return fmt.Errorf("repository %q is already assigned to job %q", job.RepositoryID, owner)
}
repositoryOwners[job.RepositoryID] = job.ID
}
notifications := make(map[string]struct{}, len(c.Notifications))
for _, target := range c.Notifications {