From 03a60dbe4c682a3ca93cccc0fd2479b005e32e35 Mon Sep 17 00:00:00 2001 From: Maxime Jublou Date: Wed, 31 Jul 2024 13:21:39 +0200 Subject: [PATCH] ci: Remove dispatch to schedulers --- .github/scripts/generate_schedulers.py | 3 ++- .github/workflows/scheduler__main.yaml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/generate_schedulers.py b/.github/scripts/generate_schedulers.py index e06220c..ec7a252 100644 --- a/.github/scripts/generate_schedulers.py +++ b/.github/scripts/generate_schedulers.py @@ -49,7 +49,8 @@ def generate_schedulers(config : dict, template : str): _.set_(cicd, "name", f"Scheduler - {scheduler['name']}") - cicd["on"] = {"schedule": [{"cron": scheduler["cron"]}], "workflow_dispatch": {}} + cicd["on"] = {"schedule": [{"cron": scheduler["cron"]}]} + # cicd["on"] = {"schedule": [{"cron": scheduler["cron"]}], "workflow_dispatch": {}} new_step = {} diff --git a/.github/workflows/scheduler__main.yaml b/.github/workflows/scheduler__main.yaml index efed627..4c14e9d 100644 --- a/.github/workflows/scheduler__main.yaml +++ b/.github/workflows/scheduler__main.yaml @@ -47,4 +47,3 @@ name: Scheduler - main 'on': schedule: - cron: '*/5 * * * *' - workflow_dispatch: {}