amplify-backend
amplify-backend copied to clipboard
better error message on do_include_e2e job when PR is from fork
Description
Our e2e tests can only be run on branches in the repo because the e2e tests have access to our test AWS account. If a PR from a fork tries to run the e2e tests (by adding the run-e2e label to the PR) it fails with a cryptic error message: https://github.com/aws-amplify/amplify-backend/actions/runs/7107074005/job/19349478710
We should instead add logic to the do_include_e2e workflow to check if the PR is from a fork and throw a helpful error