From e8234981c5e22b842ac6fcc6133c3c5291cd3742 Mon Sep 17 00:00:00 2001 From: Thomas SharedInbox Date: Tue, 26 May 2026 18:55:31 +0200 Subject: [PATCH] fix(renovate): run sed as root to patch read-only dist files The /usr/local/renovate/dist directory is owned by root. Temporarily switch to root for the sed patch, then back to ubuntu. Co-Authored-By: Claude Sonnet 4.6 --- ci/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/main.go b/ci/main.go index b86779c..15ed11c 100644 --- a/ci/main.go +++ b/ci/main.go @@ -859,7 +859,9 @@ func (m *Ci) Renovate(ctx context.Context, renovateToken *dagger.Secret) (string WithEnvVariable("RENOVATE_ENDPOINT", "https://codeberg.org"). WithEnvVariable("RENOVATE_REPOSITORIES", "guettli/sharedinbox"). WithEnvVariable("LOG_LEVEL", "info"). + WithUser("root"). WithExec([]string{"/bin/sh", "-c", patchCmd}). + WithUser("ubuntu"). WithExec([]string{"renovate"}). Stdout(ctx) }