From d31070177cf1ada4e1390baf712c62054f47aa06 Mon Sep 17 00:00:00 2001 From: Jason Woltje Date: Sun, 15 Mar 2026 21:48:51 +0000 Subject: [PATCH] fix(ci): remove from_secret to unblock PR pipelines (#156) Co-authored-by: Jason Woltje Co-committed-by: Jason Woltje --- .woodpecker/ci.yml | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml index 1b4f90c..2dfe430 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/ci.yml @@ -5,9 +5,10 @@ variables: when: - event: [push, pull_request, manual] -# Turbo remote cache is at turbo.mosaicstack.dev (ducktors/turborepo-remote-cache). -# TURBO_TOKEN is a Woodpecker secret injected via from_secret into the environment. -# Turbo picks up TURBO_API, TURBO_TOKEN, and TURBO_TEAM automatically. +# Turbo remote cache (turbo.mosaicstack.dev) is configured via Woodpecker +# repository-level environment variables (TURBO_API, TURBO_TEAM, TURBO_TOKEN). +# This avoids from_secret which is blocked on pull_request events. +# If the env vars aren't set, turbo falls back to local cache only. steps: install: @@ -18,11 +19,6 @@ steps: typecheck: image: *node_image - environment: - TURBO_API: https://turbo.mosaicstack.dev - TURBO_TEAM: mosaic - TURBO_TOKEN: - from_secret: turbo_token commands: - *enable_pnpm - pnpm typecheck @@ -32,11 +28,6 @@ steps: # lint, format, and test are independent — run in parallel after typecheck lint: image: *node_image - environment: - TURBO_API: https://turbo.mosaicstack.dev - TURBO_TEAM: mosaic - TURBO_TOKEN: - from_secret: turbo_token commands: - *enable_pnpm - pnpm lint @@ -53,11 +44,6 @@ steps: test: image: *node_image - environment: - TURBO_API: https://turbo.mosaicstack.dev - TURBO_TEAM: mosaic - TURBO_TOKEN: - from_secret: turbo_token commands: - *enable_pnpm - pnpm test @@ -66,11 +52,6 @@ steps: build: image: *node_image - environment: - TURBO_API: https://turbo.mosaicstack.dev - TURBO_TEAM: mosaic - TURBO_TOKEN: - from_secret: turbo_token commands: - *enable_pnpm - pnpm build