From 606a7a95152e88cf94cb8bcf9747e0e8007bf54a Mon Sep 17 00:00:00 2001 From: Emmanuel Coste Date: Sat, 15 Jun 2024 16:07:44 +0200 Subject: [PATCH] ci: add nigthly clean routine --- .github/workflows/nightly_clean.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/nightly_clean.yml diff --git a/.github/workflows/nightly_clean.yml b/.github/workflows/nightly_clean.yml new file mode 100644 index 00000000..8db85115 --- /dev/null +++ b/.github/workflows/nightly_clean.yml @@ -0,0 +1,22 @@ +--- +name: Nightly clean cloud providers resources + +on: + push: + schedule: + # every day at 0 AM + - cron: 00 0 * * * + workflow_dispatch: + +jobs: + azure: + uses: ./.github/workflows/azure_clean.yml + secrets: inherit + + gcp: + uses: ./.github/workflows/gcp_clean.yml + secrets: inherit + + aws: + uses: ./.github/workflows/aws_main.yml + secrets: inherit