diff --git a/.github/workflows/ghcr-cleanup.yaml b/.github/workflows/ghcr-cleanup.yaml index 3782739d..9354ba7e 100644 --- a/.github/workflows/ghcr-cleanup.yaml +++ b/.github/workflows/ghcr-cleanup.yaml @@ -1,12 +1,13 @@ name: Delete old ghcr images on: + pull_request: schedule: - cron: "0 1 * * *" # every day at 1:00am workflow_dispatch: jobs: ghcr-cleanup: - if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} + # if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} name: Delete stale or untagged images runs-on: ubuntu-latest steps: