Add automatic Gitea label creation and repository edit functionality
- Implement automatic label creation when registering repositories:
• bzzz-task (red) - Issues for CHORUS BZZZ task assignments
• whoosh-monitored (teal) - Repository monitoring indicator
• priority-high/medium/low labels for task prioritization
- Add repository edit modal with full configuration options
- Add manual "Labels" button to ensure labels for existing repos
- Enhance Gitea client with CreateLabel, GetLabels, EnsureRequiredLabels methods
- Add POST /api/v1/repositories/{id}/ensure-labels endpoint
- Fix label creation error handling with graceful degradation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -178,7 +178,7 @@ func (h *WebhookHandler) ProcessWebhook(payload *WebhookPayload) *WebhookEvent {
|
||||
log.Info().
|
||||
Str("action", payload.Action).
|
||||
Str("repository", payload.Repository.FullName).
|
||||
Int("issue_number", payload.Issue.Number).
|
||||
Int64("issue_number", payload.Issue.Number).
|
||||
Str("title", payload.Issue.Title).
|
||||
Msg("Processing task issue webhook")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user