diff --git a/.github/workflows/container-prune.yml b/.github/workflows/container-prune.yml index bae3ff46..861774da 100644 --- a/.github/workflows/container-prune.yml +++ b/.github/workflows/container-prune.yml @@ -1,6 +1,7 @@ name: Container Registry Prune on: + pull_request: schedule: - cron: '0 3 * * 0' # Weekly: Sundays at 03:00 UTC workflow_dispatch: @@ -45,6 +46,14 @@ jobs: run: | sudo apt-get update && sudo apt-get install -y jq curl gh + - name: Show prune script being executed + run: | + echo "===== SCRIPT PATH =====" + pwd + ls -la scripts + echo "===== FIRST 20 LINES =====" + head -n 20 scripts/prune-container-images.sh + - name: Run container prune env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}