feat: add CreateIssue to Forge interface with Gitea implementation

This commit is contained in:
sam committed 2026-07-23 19:12:12 +10:00
1 parent 1bf4f7668f
commit 423eb78fef
7 files changed
+22 -74

No files matched your search

+3
View File
@@ -58,6 +58,9 @@ type Forge interface {
// CloseIssue closes an issue with an optional final comment.
CloseIssue(ctx context.Context, owner, repo string, number int, comment string) error
// CreateIssue opens a new issue and returns its number.
CreateIssue(ctx context.Context, owner, repo, title, body string, labels []string) (int, error)
// React adds an emoji reaction to an issue.
React(ctx context.Context, owner, repo string, number int, reaction string) error