From 73439a81217c89167e104bb0bddd051a8235264f Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Sat, 9 Nov 2024 11:10:05 +0000 Subject: [PATCH] feat: adds block_external to safe jobs list --- app/cli/automate.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/cli/automate.py b/app/cli/automate.py index fc5162e..88d19c7 100644 --- a/app/cli/automate.py +++ b/app/cli/automate.py @@ -153,7 +153,13 @@ def run_job(job_cls: Type[BaseAutomation], *, else: automation.state = AutomationState.ERROR safe_jobs = [ - "proxy_cloudfront", "static_aws", "list_http_post", "list_s3", "list_github", "list_gitlab" + "proxy_cloudfront", + "static_aws", + "list_http_post", + "list_s3", + "list_github", + "list_gitlab", + "block_external" ] if job.short_name not in safe_jobs: automation.enabled = False