Send commit webhook to build channel

This commit is contained in:
Willy-JL
2023-07-19 20:47:20 +01:00
parent 103d0c5c8b
commit d166a6f9d0
2 changed files with 3 additions and 1 deletions

View File

@@ -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(