Skip to content

ci: pass VITE_FRINGE_SHEET_NAME to the code-quality workflow - #229

Merged
rileychh merged 1 commit into
mainfrom
fix-fringe-ci-env
May 13, 2026
Merged

rileychh merged 1 commit into
mainfrom
fix-fringe-ci-env

Conversation

@rileychh

@rileychh rileychh commented May 4, 2026

Copy link
Copy Markdown
Member

loaders/fringe.data.ts reads env.VITE_FRINGE_SHEET_NAME, but only deploy-to-pages.yaml exports it — code-quality.yaml doesn't. On PR builds the URL becomes …/values/undefined?key=…, Sheets returns 400, and every CI log carries Error fetching fringes: No data found in the spreadsheet. Non-fatal (loader catches and returns `[]`), but it leaves PR previews with an empty Fringe section.

The repo secret already exists (created 2025-08-02); this one line wires it through.

Test plan

  • CI green
  • Fringe section on the preview renders all 9 rows

@vercel

vercel Bot commented May 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
2025 Ready Ready Preview, Comment May 10, 2026 8:41am

@rileychh
rileychh requested a review from mirumodapon May 4, 2026 17:18
The Fringe loader reads `env.VITE_FRINGE_SHEET_NAME`, but only
deploy-to-pages.yaml exports it. In code-quality.yaml the variable was
undefined, so the loader's URL became `…/values/undefined?key=…`, Sheets
returned 400 INVALID_ARGUMENT, and the loader logged
`Error fetching fringes: No data found in the spreadsheet` on every PR build.

Mirror the deploy workflow's env block so PR builds see the same secret.
@rileychh
rileychh force-pushed the fix-fringe-ci-env branch from b24bdfc to 7b6e3a7 Compare May 10, 2026 08:39
@rileychh
rileychh changed the base branch from main to static-staff-data May 10, 2026 08:40
Base automatically changed from static-staff-data to main May 13, 2026 05:41
@rileychh
rileychh merged commit f7bbd77 into main May 13, 2026
2 checks passed
@rileychh
rileychh deleted the fix-fringe-ci-env branch May 13, 2026 05:41

This branch was successfully deployed

1 active deployment
Preview — 7b6e3a7f Deployed May 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants