From 9d545e35661bb107107da20922c7d749c362d176 Mon Sep 17 00:00:00 2001 From: Wietze Date: Fri, 19 Jun 2026 16:31:38 -0400 Subject: [PATCH 1/2] ci: gate dist upload to push, cap retention at 7 days --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 895913e..2f6f4e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,6 +59,8 @@ jobs: - name: Check metadata renders on PyPI run: uvx twine check dist/* - uses: actions/upload-artifact@v4 + if: github.event_name == 'push' with: name: dist path: dist/ + retention-days: 7 From 11ea893b7b95ada9142ce3601435133601887e5b Mon Sep 17 00:00:00 2001 From: Wietze Date: Fri, 19 Jun 2026 16:31:39 -0400 Subject: [PATCH 2/2] ci: cap release dist artifact retention at 1 day --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0fdebb..2ecd7d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,7 @@ jobs: with: name: dist path: dist/ + retention-days: 1 publish: needs: build