ci: disable the manifest cleanup after a failed run

This commit is contained in:
peaklabs-dev committed 2026-11-03 17:41:10 +01:00
1 parent 1a888610ad
commit ef88ea07da
1 file changed
+7
+7
View File
@@ -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"