Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down