From ef88ea07dac0bad85c83cea7768b77d8bcb6a737 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Tue, 3 Nov 2026 16:22:15 +0100 Subject: [PATCH] ci: disable the manifest cleanup after a failed run --- .github/workflows/clean-manifests.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/clean-manifests.yaml b/.github/workflows/clean-manifests.yaml index 2f1a2f1c72..9dd08366d1 100644 --- a/.github/workflows/clean-manifests.yaml +++ b/.github/workflows/clean-manifests.yaml @@ -23,6 +23,7 @@ jobs: if: ${{ github.repository == 'coollabsio/coolify' }} permissions: contents: read + actions: write # to disable this workflow after a failure environment: name: cleanup deployment: false @@ -51,3 +52,9 @@ jobs: scripts/deleted-manifests.tsv if-no-files-found: ignore retention-days: 90 + + - name: Disable this workflow after a failure + if: ${{ failure() }} + env: + GH_TOKEN: ${{ github.token }} + run: gh workflow disable clean-manifests.yaml --repo "$GITHUB_REPOSITORY"