Format of commit messages (#8365)

Co-authored-by: Patti Short <35278231+shortpatti@users.noreply.github.com>
This commit is contained in:
Andrew Moss 2020-03-12 09:05:44 +01:00 committed by GitHub
parent 6ac0ea6fe6
commit f7e75546fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -198,6 +198,13 @@ Improvements must have the title "[Area or module] : [Added/Refactored/Improved/
New collectors must have the title "[New collector] : [Name of collector]".
#### Commit messages when PRs are merged
When a PR gets squashed and merged into master, the title of the commit message (first line) must be the PR title
followed by the PR number.
The body of the commit message should be a short description of the work, preferably taken from the connected issue.
### PR approval process
Each PR automatically [requires a review](https://help.github.com/articles/about-required-reviews-for-pull-requests/) from the code owners specified in `.github/CODEOWNERS`. Depending on the files contained in your PR, several people may be need to approve it.