mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
1.4 KiB
1.4 KiB
Guide to merging contributor PRs for Firefox Android team members
Contributor PRs will run only a specific suite of CI tests (excluding UI tests) in order to protect secrets. Use the following steps when reviewing and merging a contributor PR.
Process for landing contributor PR
Note: these instructions use https://cli.github.com/
- Fetch upstream changes and locally check out the contributor's branch onto your fork.
git fetch --all
gh pr checkout <PR number>
# Example:
gh pr checkout 1234 # for https://github.com/mozilla-mobile/firefox-android/pull/1234
-
Build and run contributor's changes locally to verify that it works correctly.
-
Review the code to make sure everything is clean.
-
Once a Firefox Android team member has reviewed the PR and deemed it safe, comment the following to start UI tests.
bors try
-
Once the UI tests have all completed and passed, approve the PR and add
approved
andneeds landing
label the contributor's PR. -
Monitor the merging process to make sure it lands as expected.
Process for updating contributor PR (if contributor needs help or is unresponsive)
git remote add <Contributor remote name> <Contributor repository>
git checkout <Contributor remote name>/<Contributor branch name>
git rebase upstream/main (or any other actions you want to fixup in their PR)
git push <Contributor remote name> HEAD:<Contributor branch name> -f