diff --git a/.github/workflows/cache-cleanup.yaml b/.github/workflows/cache-cleanup.yaml index 4652b1c..399eb2f 100644 --- a/.github/workflows/cache-cleanup.yaml +++ b/.github/workflows/cache-cleanup.yaml @@ -2,17 +2,14 @@ name: Cleanup Cache on: pull_request: - types: [closed] + 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 }} \ No newline at end of file + 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 }}