mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-28 07:10:04 +02:00
Updating branch naming standards in contributing.md
This commit is contained in:
parent
980f997dbc
commit
c20f7e6679
2 changed files with 13 additions and 24 deletions
|
@ -1,7 +1,7 @@
|
|||
## Code Review
|
||||
|
||||
Pull requests should be titled in the format of `#issue_number: Descriptive name ideally matching ticket name - [sandbox]`
|
||||
Any pull requests including a migration should be suffixed with ` - MIGRATION`
|
||||
Pull requests including a migration should be suffixed with ` - MIGRATION`
|
||||
|
||||
After creating a pull request, pull request submitters should:
|
||||
- Add at least 2 developers as PR reviewers (only 1 will need to approve).
|
||||
|
@ -9,19 +9,27 @@ After creating a pull request, pull request submitters should:
|
|||
- If any model was updated to modify/add/delete columns, run makemigrations and commit the associated migrations file.
|
||||
- If any updated dependencies on Pipfile, also update dependencies in requirements.txt.
|
||||
|
||||
## Pull request approvals
|
||||
Code changes on user-facing features (excluding content updates) require approval from at least one developer and one designer.
|
||||
All other changes require a single approving review.
|
||||
|
||||
The submitter is responsible for merging their PR unless the approver is given explcit permission. Similarly, do not commit to another person's branch unless given explicit permission.
|
||||
|
||||
Bias towards approving i.e. "good to merge once X is fixed" rather than blocking until X is fixed, requiring an additional review.
|
||||
|
||||
## Pull Requests for User-facing changes
|
||||
When making user-facing changes, test that your changes work on multiple browsers including Chrome, Microsoft Edge, Firefox, and Safari.
|
||||
|
||||
Add new pages to the .pa11yci file so they are included in our automated accessibility testing.
|
||||
|
||||
## Other Pull request norms
|
||||
- Keep pull requests as small as possible. This makes them easier to review and track changes.
|
||||
- Write descriptive pull requests. This is not only something that makes it easier to review, but is a great source of documentation.
|
||||
|
||||
[comment]: The Coding standards section will be moved to a new code standards file in #2898. For now we're simply moving PR template content into the code review document for consolidation
|
||||
## Coding standards
|
||||
(The Coding standards section may be moved to a new code standards file in a future ticket.
|
||||
For now we're simply moving PR template content into the code review document for consolidation)
|
||||
|
||||
### Plain language
|
||||
All functions and methods should use plain language.
|
||||
|
||||
TODO: Plain language description and examples in code standards ticket.
|
||||
TODO: Plain language description and examples in code standards ticket.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue