diff --git a/main.py b/main.py index 933289a..362b4e8 100644 --- a/main.py +++ b/main.py @@ -74,6 +74,7 @@ def main(): if app['metadata']['annotations'].get('preview_environment') == 'true': logger.info(f'OK. This app has the annotation preview_environment == true : {app["metadata"]["name"]}') if app['metadata']['annotations']['head_sha'] not in commits_processed: + time.sleep(30) # Check if the application was created by an ApplicationSet owner_refs = app['metadata']['ownerReferences'] appset_created = any(