- Things to do when submitting a PR
Things to do when submitting a PR
Here is a TOP10 list to improve and accelerate the review process of pull requests. If you follow them, chances are your pull request will get the attention needed and it will be ready for merge sooner than later:
- Make sure you are on top of latest main branch
- # git fetch upstream
- # git rebase upstream/main
- Run compliance tests locally and fix any issues before submitting a PR
- # ./scripts/ci/check_compliance.py -c upstream/main..
- Make sure title of PR explains what is being fixed or added
- Make sure your PR has a body with more details about the content of your submission
- Make sure you reference the issue you are fixing in the body of the PR
- Add reviewers if you can and know who will be able to review your code
- Set the labels if those are not automatically set by the bot.
- Watch early CI results immediately after submissions and fix issues as they are discovered
- Revisit PR after 1-2 hours to see the status of all CI checks, make sure all is green
- If you get request for changes and submit a change to address them, make sure you re-request review from those who asked for the changes
Join firstname.lastname@example.org to automatically receive all group messages.