From 80c7ab98602465b2ee837b0c22a0e023858adf0f Mon Sep 17 00:00:00 2001 From: Tamir Kamara <26870601+tamirkamara@users.noreply.github.com> Date: Wed, 11 Dec 2024 08:57:19 +0200 Subject: [PATCH] Extend validation environment TTL (#4179) Extended validation environment TTL before stopping --- .github/workflows/clean_validation_envs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clean_validation_envs.yml b/.github/workflows/clean_validation_envs.yml index e5d5a38700..1ddeaa851d 100644 --- a/.github/workflows/clean_validation_envs.yml +++ b/.github/workflows/clean_validation_envs.yml @@ -4,7 +4,7 @@ name: Clean Validation Environments on: # yamllint disable-line rule:truthy schedule: # Every 2 hours - - cron: "0 */2 * * *" + - cron: "0 */1 * * *" workflow_dispatch: jobs: @@ -31,6 +31,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MAIN_TRE_ID: ${{ secrets.TRE_ID }} GITHUB_REPOSITORY: ${{ github.repository}} - BRANCH_LAST_ACTIVITY_IN_HOURS_FOR_STOP: 2 + BRANCH_LAST_ACTIVITY_IN_HOURS_FOR_STOP: 4 BRANCH_LAST_ACTIVITY_IN_HOURS_FOR_DESTROY: 48 run: devops/scripts/clean_ci_validation_envs.sh