diff --git a/.github/workflows/delete-preview.yml b/.github/workflows/cleanup-resources.yml similarity index 59% rename from .github/workflows/delete-preview.yml rename to .github/workflows/cleanup-resources.yml index 114fe0e00b72..b3eed8e8ab52 100644 --- a/.github/workflows/delete-preview.yml +++ b/.github/workflows/cleanup-resources.yml @@ -1,10 +1,18 @@ -name: Close PR delete firebase channel +name: Cleanup resources after close PR on: pull_request: types: [closed] jobs: - delete_firebase_channel: + purge-cache: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.2.1 + - uses: taiga-family/ci/actions/setup/variables@v1.93.2 + - run: gh cache delete ${{ env.CACHE_DIST_KEY }} + continue-on-error: true + + delete-firebase-channel: runs-on: ubuntu-latest timeout-minutes: 10 steps: