Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Reduce Actions storage churn: image artifact retention and Renovate cadence (#5604)

Konstantin Obenlandbad14999c050
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 58bdde527..8b8981590 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -212,6 +212,10 @@ jobs:
with:
name: ${{ matrix.image }}
path: /tmp/${{ matrix.image }}.tar
+ # These tarballs are only consumed by later jobs in the same run
+ # (via `load-img`), so they don't need the default 90 day retention.
+ # 2 days still allows re-running failed jobs the next day.
+ retention-days: 2
- name: Show artifact ID
run: |
diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml
index 1803192cb..a27fe0d05 100644
--- a/.github/workflows/renovate.yml
+++ b/.github/workflows/renovate.yml
@@ -12,8 +12,8 @@ on:
- disabled
- reset
schedule:
- # Run every 30 minutes:
- - cron: "0,30 * * * *"
+ # Run every 6 hours:
+ - cron: "0 */6 * * *"
# Adding these as env variables makes it easy to reuse them in different steps and in bash.
env: