From 4298aaab02b31ddcd2be7809cfacb6f72ed38ccd Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Tue, 25 Apr 2023 18:40:10 +0100 Subject: [PATCH] Fix PR webhook --- .github/workflow_data/webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflow_data/webhook.py b/.github/workflow_data/webhook.py index ee97e254b..08eab46fb 100644 --- a/.github/workflow_data/webhook.py +++ b/.github/workflow_data/webhook.py @@ -39,7 +39,7 @@ if __name__ == "__main__": url = pr["html_url"] branch = pr["base"]["ref"] + ( "" - if pr["base"]["full_name"] != pr["head"]["full_name"] + if pr["base"]["repo"]["full_name"] != pr["head"]["repo"]["full_name"] else f" <- {pr['head']['ref']}" ) name = pr["title"][:50] + ("..." if len(pr["title"]) > 50 else "")