mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Fix PR webhook
This commit is contained in:
2
.github/workflow_data/webhook.py
vendored
2
.github/workflow_data/webhook.py
vendored
@@ -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