mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-10-23 04:23:25 +00:00
Fix PR webhook
This commit is contained in:
1 parent
4229aab7e9
commit
8ebc3888a2
1 file changed
+1
-1
@@ -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 "")
|
||||
|
||||
Reference in new issue
Block a user