-
Notifications
You must be signed in to change notification settings - Fork 228
External Contribution Review (Fork PRs)
Mike Ochs edited this page Oct 19, 2022
·
4 revisions
For security purposes secrets are not shared with fork PRs. As a result integration tests including the build validation and pipeline end-to-end tests will not run for external contributions coming from a fork of our repos.
In order to validate external contributions a contributor needs to create a new branch from the fork PR using the following commands
git fetch origin refs/pull/PR_NUMBER/head:NEWBRANCHNAME
git checkout NEWBRANCHNAME
If necessary, you can merge main back into the newly created branch to ensure the branch is up to date
git merge origin/main
Once the new branch is created and checked out push changes
git push --set-upstream origin NEWBRANCHNAME
Create a new PR to run integration tests. Review / merge the PR that was created by the contributor. Fork PRs should be closed without accepting or merging.