Fix CI badge cache purge failing when no camo URLs found
All checks were successful
CI / shellcheck (push) Successful in 18s
All checks were successful
CI / shellcheck (push) Successful in 18s
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 <noreply@anthropic.com>
This commit is contained in:
parent
fe272eb0b0
commit
90f188491d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue