mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-10-23 10:53:46 +00:00
Send commit webhook to build channel
This commit is contained in:
1 parent
103d0c5c8b
commit
d166a6f9d0
2 files changed
+3
-1
No files matched your search
@@ -16,6 +16,7 @@ if __name__ == "__main__":
|
||||
|
||||
match os.environ["GITHUB_EVENT_NAME"]:
|
||||
case "push":
|
||||
webhook = "BUILD_WEBHOOK"
|
||||
count = len(event["commits"])
|
||||
if count == 20:
|
||||
count = int(requests.get(
|
||||
|
||||
Reference in new issue
Block a user