aws-amplify / amplify-hosting

AWS Amplify Hosting provides a Git-based workflow for deploying and hosting fullstack serverless web applications.
https://aws.amazon.com/amplify/hosting/
Apache License 2.0
456 stars 115 forks source link

Enable PR previews by default with branch auto detection #1060

Open ankhuve opened 4 years ago

ankhuve commented 4 years ago

Is your feature request related to a problem? Please describe. Before a release, we usually create a release branch which follows the naming convention "version-X-Y-Z", which makes it easy to enable branch auto detection in the Amplify Console with a simple pattern like "version-*". That's working great, awesome feature! However, code usually need to be merged into the release branch during the final days of testing, so PR's are opened against the release branch. The problem is that the PR's created against the release branches are not automatically built (we're using Amplify as a CI tool in this case) since the PR preview feature is not enabled by default, so we have to enter the console and enable previews for the automatically created environment each time a new release branch is pushed.

Describe the solution you'd like I'd love an option to enable PR previews by default for auto detected branches, either in this configuration (something like a toggle for "enable PR previews for auto detected branches"): image

...or in the settings for previews (perhaps each added pattern could get a row at the bottom for more granular control): image

Thank you for a great product so far!

Athena96 commented 4 years ago

Hi @ankhuve thanks for your input! We will log this as a feature request

github-actions[bot] commented 1 year ago

This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!