Skip to content

External Contribution Review (Fork PRs)

Mike Ochs edited this page Aug 5, 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

Once the new branch is created and checked out push changes

git push --set-upstream origin NEWBRANCHNAME

and 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.

Clone this wiki locally