Skip to content

chore: Simplify cache cleanup workflow #2

chore: Simplify cache cleanup workflow

chore: Simplify cache cleanup workflow #2

Workflow file for this run

name: Cache Cleanup
on:
pull_request:
types: [ closed ]
workflow_dispatch:
jobs:
cleanup:
name: 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:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Check failure on line 16 in .github/workflows/cache-cleanup.yaml

View workflow run for this annotation

GitHub Actions / Cache Cleanup

Invalid workflow file

The workflow is not valid. .github/workflows/cache-cleanup.yaml (Line: 16, Col: 21): Invalid secret, GITHUB_TOKEN is not defined in the referenced workflow.