Skip to content

chore: Update cache cleanup workflow #3

chore: Update cache cleanup workflow

chore: Update cache cleanup workflow #3

name: Cleanup Cache
on:
pull_request:
types: [closed]
workflow_dispatch:
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Run Cache Cleanup
uses: openMF/mifos-mobile-github-actions/.github/workflows/cache-cleanup.yaml@main
with:
cleanup_pr: ${{ github.event_name == 'pull_request' && github.event.repository.private == true }}
cleanup_all: ${{ github.event_name == 'workflow_dispatch' }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}