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