From 90f188491d5c8ffcf075612a2813ee99ca6acea5 Mon Sep 17 00:00:00 2001 From: Matthias Johnson Date: Tue, 24 Feb 2026 17:54:41 -0700 Subject: [PATCH] Fix CI badge cache purge failing when no camo URLs found With pipefail enabled, grep exiting 1 on no matches fails the step. Add xargs -r and || true so the purge is best-effort only. Co-Authored-By: Claude Sonnet 4.6 --- .forgejo/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 0a83c1b..caa3d5c 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -21,4 +21,4 @@ jobs: curl -sL https://github.com/opennomad/systab \ | grep -oP 'https://camo\.githubusercontent\.com/[^"]+' \ | sort -u \ - | xargs -I{} curl -sX PURGE '{}' + | xargs -r -I{} curl -sX PURGE '{}' || true