Skip to content

[WIP] Add natively supported website PR previews functionality#10019

Closed
Copilot wants to merge 2 commits intomasterfrom
copilot/add-website-pr-previews-support
Closed

[WIP] Add natively supported website PR previews functionality#10019
Copilot wants to merge 2 commits intomasterfrom
copilot/add-website-pr-previews-support

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 20, 2026

  • Explore repository structure and existing workflows
  • Research rossjrw/pr-preview-action (v1.8.1)
  • Create .github/workflows/pr-preview.yml that:
    • Triggers on pull_request_target events (labeled, unlabeled, synchronize, reopened, closed)
    • Deploys a preview when the "preview" label is added/present
    • Removes the preview when the PR is closed or the "preview" label is removed
    • Uses same build setup as existing website.yml (yarn bootstrap + website build with API keys)
    • Uses rossjrw/pr-preview-action to deploy to gh-pages branch under pr-preview/pr-{number}/
  • Verify workflow YAML is valid

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: charlieforward9 <62311337+charlieforward9@users.noreply.github.com>
@charlieforward9
Copy link
Copy Markdown
Collaborator

Try again

@chrisgervang
Copy link
Copy Markdown
Collaborator

There are a few ideas floating on how we could do this. Opened #10022 to discuss

@charlieforward9
Copy link
Copy Markdown
Collaborator

Great - ill hold this in the drafts till we figure it out

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