aws-amplify / aws-amplify/amplify-hosting

PR previews for forks

Open
#508 5 comments 14 reactions 0 assignees View on GitHub
feature-request
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

PR previews only work for branches on `origin`, not for forks.

**Describe the solution you'd like**

Every PR for a front-end site should generate a PR preview.

**Additional context**

Example of a PR with a preview (notice the branch name & the preview link under "Checks"):
- https://github.com/aws-amplify/docs/pull/1183

Example of a PR without a preview (notice the forked branch name & how "Checks" doesn't have a preview):
- https://github.com/aws-amplify/docs/pull/1201

Contributor guide

Open the contributing guide

Research direction

No files or tests are identified. Start by tracing how PR previews are configured for origin branches, then compare the linked example with the forked example and inspect the Checks results. Done means every pull request for a front-end site, including pull requests from forks, receives a working preview.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, git, github
Domain
ci-cd, cloud, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.