diff --git a/api/convert.go b/api/convert.go index dfe1b11..0d9609c 100644 --- a/api/convert.go +++ b/api/convert.go @@ -2,6 +2,7 @@ package api import ( "code.gitea.io/gitea/modules/structs" + "fmt" "github.com/google/go-github/v59/github" "time" ) @@ -234,5 +235,7 @@ func translatePrAction(action structs.HookIssueAction) string { translatedAction = "unknown_action" } + translatedAction = fmt.Sprintf("pull_request.%s", translatedAction) + return translatedAction }