From 2a6b0645a64b21d0e6218ead6d6f82ded4a26428 Mon Sep 17 00:00:00 2001 From: Daniel Adam Date: Fri, 10 Nov 2023 16:40:10 +0100 Subject: [PATCH] Test --- .github/workflows/ghcr-cleanup.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: