From 69bbddbec0f5e1db37084647e0a1464f7aa00ab4 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Thu, 26 Nov 2026 21:06:04 +0100 Subject: [PATCH] ci: run the cleanup on the slim runner The backlog is gone, a run only reads a few pages now. Like renovatebot/docker-build-cache#114: ubuntu-slim, a 15 minutes job timeout and MAX_DURATION 720s. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QDtJ4KzQDumLuVTjbJNkWv --- .github/workflows/cleanup.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index dc1a032..d598ad3 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -26,9 +26,10 @@ concurrency: jobs: cleanup: if: github.event_name != 'pull_request' - runs-on: ubuntu-latest - # the script stops after 45 minutes - timeout-minutes: 55 + # the backlog is gone, a run only reads the pages; slim jobs end after 15 minutes + runs-on: ubuntu-slim + # the script stops after MAX_DURATION + timeout-minutes: 15 permissions: contents: read packages: write @@ -53,6 +54,8 @@ jobs: MAX_AGE: 24 # in days, for untagged versions MAX_UNTAGGED_AGE: 7 + # in seconds, before the job timeout + MAX_DURATION: 720 # only reads, so it can't delete anything whatever the pull request changes dry-run: