28 lines
943 B
Diff
28 lines
943 B
Diff
|
From 0cab84b1a8b27b097a980fb6a4de09001eec79dc Mon Sep 17 00:00:00 2001
|
||
|
From: magic_rb <richard@brezak.sk>
|
||
|
Date: Mon, 15 Jul 2024 15:58:50 +0200
|
||
|
Subject: [PATCH] `GiteaHandler` set the category of PR changes to "pull",
|
||
|
match `GitHubHandler`
|
||
|
|
||
|
Signed-off-by: magic_rb <richard@brezak.sk>
|
||
|
---
|
||
|
buildbot_gitea/webhook.py | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/buildbot_gitea/webhook.py b/buildbot_gitea/webhook.py
|
||
|
index 444f20e..468365c 100644
|
||
|
--- a/buildbot_gitea/webhook.py
|
||
|
+++ b/buildbot_gitea/webhook.py
|
||
|
@@ -103,7 +103,7 @@ class GiteaHandler(BaseHookHandler):
|
||
|
'revlink': pull_request['html_url'],
|
||
|
'repository': head['repo']['ssh_url'],
|
||
|
'project': repository['full_name'],
|
||
|
- 'category': event_type,
|
||
|
+ 'category': "pull",
|
||
|
'properties': {
|
||
|
'event': event_type,
|
||
|
'base_branch': base['ref'],
|
||
|
--
|
||
|
2.44.1
|
||
|
|