ci: build-only check on pull requests #16

Merged
void merged 1 commit from ci/pr-build-check into main 2026-11-09 10:24:34 +00:00
Member

deploy-quartz triggers on push to main and workflow_dispatch only, so PRs #13 #14 #15 get no checks.

Adds .github/workflows/pr-build.yml: on pull_request, checks out the site and GameCult/GameCult-Quartz, npm ci, and runs the same scripts/build-site.mjs build with the same inputs as deploy-quartz. contents: read only, no secrets, no Pages configure/upload/deploy.

Why not uses: quartz-pages.yml: the shared workflow bundles build and deploy in one workflow, and declares pages: write / id-token: write, which a read-only caller cannot grant. Splitting it needs a deploy input in GameCult-Quartz; the build steps are duplicated here until that exists (the engine script stays the single build authority).

Verified locally: the build script against this tree exits 0 (67 files in, 372 emitted).

🤖 Generated with Claude Code

`deploy-quartz` triggers on push to main and workflow_dispatch only, so PRs #13 #14 #15 get no checks. Adds `.github/workflows/pr-build.yml`: on `pull_request`, checks out the site and `GameCult/GameCult-Quartz`, `npm ci`, and runs the same `scripts/build-site.mjs build` with the same inputs as `deploy-quartz`. `contents: read` only, no secrets, no Pages configure/upload/deploy. Why not `uses: quartz-pages.yml`: the shared workflow bundles build and deploy in one workflow, and declares `pages: write` / `id-token: write`, which a read-only caller cannot grant. Splitting it needs a `deploy` input in GameCult-Quartz; the build steps are duplicated here until that exists (the engine script stays the single build authority). Verified locally: the build script against this tree exits 0 (67 files in, 372 emitted). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ci: build-only check on pull requests
Some checks failed
PR Build Check / build (pull_request) Failing after 3m27s
21eb3bdc36
deploy-quartz triggers on push to main only, so PRs got no checks. This
runs the same shared Quartz build script (same inputs as deploy-quartz)
on pull_request, without the Pages configure/upload/deploy steps, with
contents: read only and no secrets.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
void merged commit 34c2736772 into main 2026-11-09 10:24:34 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/gamecult-site!16
No description provided.