Practices and workflows for using Git and GitHub on the Digital team.
Changes are made on feature branches and merged via Pull Request, regardless of whether those PRs are reviewed.
Preferred naming convention for a feature branch is service-name/feature.
service-name/feature
Never commit directly to develop or production branches.
develop
production
Rebase to a single commit before making a PR.
Commit messages should be written in present tense.
See our code reviewarrow-up-right guidelines.
PRs should be merged by the assignee, who is typically the person who made the PR.
Assignee should delete the branch once it has been merged into develop.
Code reviews are required if more than one engineer has interest in the repo, regardless of the relative experience between the engineers.
Code reviews take priority over feature work, and must be responded to quickly.
Reviewer is responsible for approving changes detected by Percy.
For Drupal see:
Last updated 4 years ago
Was this helpful?