Skip to content

Commit 773893a

Browse files
SRausnunojsa
authored andcommitted
Add CODEOWNERS and PULL_REQUEST_TEMPLATE
Specific code owners will be automatically added as reviewers, whenever new PRs are opened. CODEOWNERS file can be different on each branch. PULL_REQUEST_TEMPLATE.md will populate all new PR description field. Beside PR description, it contains a list of checkboxes, ensuring all team members follow the same guidelines and enforce best practices. PR Template applies for PRs against all protected branches. Both files were added in .github Signed-off-by: Stefan Raus <[email protected]>
1 parent ecddf58 commit 773893a

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/CODEOWNERS

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This document lists the code owners for all Linux repo sources, and it is
2+
# used automatically whenever Pull Requests are created, in next way:
3+
# - People listed as CODEOWNERS are automatically added as reviewers to all
4+
# PRs open to branches containing this file.
5+
# - In addition to Code Owners, other reviewers can be added.
6+
# - There can be different code owners for different branches.
7+
# - PRs will require the approval of at least one code owner.
8+
#
9+
# For more details, you can refer [GitHub CodeOwners Documentation](ttps://github.blog/2017-07-06-introducing-code-owners/)
10+
#
11+
# The format of CODEOWNERS is: <pattern> + <mail address of one/more owners>
12+
#
13+
# In case of multiple matches, the last pattern matched will take precedence.
14+
15+
##### Global code owners (for folders with no later match) #####
16+
17+

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## PR Description
2+
3+
- Please replace this comment with a summary of your changes, and add any context
4+
necessary to understand them. List any dependencies required for this change.
5+
- To check the checkboxes below, insert a 'x' between square brackets (without
6+
any space), or simply check them after publishing the PR.
7+
- If you changes include a breaking change, please specify dependent PRs in the
8+
description and try to push all related PRs simultaneously.
9+
10+
## PR Type
11+
- [ ] Bug fix (a change that fixes an issue)
12+
- [ ] New feature (a change that adds new functionality)
13+
- [ ] Breaking change (a change that affects other repos or cause CIs to fail)
14+
15+
## PR Checklist
16+
- [ ] I have conducted a self-review of my own code changes
17+
- [ ] I have tested the changes on the relevant hardware
18+
- [ ] I have updated the documentation outside this repo accordingly (if there is the case)

0 commit comments

Comments
 (0)