fix: need to prefix with pull_request.
This commit is contained in:
parent
12c71a26bf
commit
e95732d479
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue