mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-04 10:42:23 +00:00
ci: disable the manifest cleanup after a failed run
This commit is contained in:
1 parent
1a888610ad
commit
ef88ea07da
1 file changed
+7
@@ -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"
|
||||
Reference in new issue
Block a user