feat: add CreateIssue to Forge interface with Gitea implementation
This commit is contained in:
1 parent
1bf4f7668f
commit
423eb78fef
7 files changed
+22
-74
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user