Skip to content

ci: validate site builds on pull requests - #478

Closed
Shayne Boyer (spboyer) wants to merge 1 commit into
mainfrom
spboyer-squad-473-validate-site-builds
Closed

ci: validate site builds on pull requests#478
Shayne Boyer (spboyer) wants to merge 1 commit into
mainfrom
spboyer-squad-473-validate-site-builds

Conversation

@spboyer

Copy link
Copy Markdown
Member

Summary

  • Add a dedicated Site Build PR workflow with a required-check-friendly Validate site job.
  • Detect PR file changes and run cd site && npm ci && npm run build only for site/**, the site validation workflow, or the Pages workflow.
  • Report a successful skipped check for non-site PRs to avoid required-check deadlocks.

Closes #473

Validation

  • git diff --check
  • cd site && npm ci && npm run build could not complete locally because the configured npm proxy returned 404 for playwright-core-1.62.0.tgz; retrying against the public registry failed with ENOTCONN.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 28, 2026 13:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a dedicated pull-request workflow to validate the documentation site build before merging, while still producing a successful “skipped” required check for PRs that don’t touch site-related files.

Changes:

  • Introduces .github/workflows/site-ci.yml with a Validate site job designed to be required-check-friendly.
  • Detects whether a PR modifies site/** or relevant workflow files (pages.yml, site-ci.yml) and conditionally runs cd site && npm ci && npm run build.
  • Ensures non-site PRs still report a successful check via an explicit “Skip site build” step.
Show a summary per file
File Description
.github/workflows/site-ci.yml New PR workflow that conditionally builds the docs site and reports a successful skipped check when site files aren’t changed.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Low

steps:
- name: Detect site changes
id: changes
uses: actions/github-script@v8
@spboyer

Copy link
Copy Markdown
Member Author

Superseded by #476. Closing duplicate candidate from parallel coding-agent fanout.

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.

ci: validate site builds on pull requests

3 participants