mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-10 19:23:31 -07:00
Send commit webhook to build channel
This commit is contained in:
@@ -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