-
Notifications
You must be signed in to change notification settings - Fork 14
Pull Request Guide: Best Practice Improvements #188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
b0728a4
Added "Best Practices" section to Pull Request guide so that a draft …
anilnatha fe02dba
Added missing "REMOVE" entry to list of "Proposed Changes" of the PUL…
anilnatha 04e26ed
Corrected grammar for "REMOVE" list item in proposed changes list for…
anilnatha 7c850cb
Added code versioning best practices to PR guide.
anilnatha afde1d3
Added pull request reviewers and assignees best practice information …
anilnatha d1c53b8
Added additional details on CODEOWNERS file best practices.
anilnatha 701da79
Restructured pull request code owners best practice information.
anilnatha 2d37942
Added references for "Pull Request Automatic Reviewer Assignment" ste…
anilnatha a09522b
Added best practice information relating to code quality and security…
anilnatha 781a6f2
Further refined the step by step guide for "Pull Request Automatic Re…
anilnatha 1ebe4a1
Simple changes to the versioning information captured.
anilnatha 8dcef36
Use lowercase as per default on github
riverma 02d1d64
New example template CODEOWNERS file
riverma c3eda64
Referenced new CODEOWNERS template in guide
riverma 9d8fb37
Typo fixes
riverma aa9ca97
Add CODEOWNERS template to slim-registry
riverma 2ec7053
Updated image to show better; example CODEOWNERS (update later)
riverma 61d8f81
Update docs/guides/governance/contributions/pull-requests/README.md
anilnatha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| # This is a CODEOWNERS file for GitHub repositories | ||
| # It automatically assigns reviewers for pull requests based on file paths | ||
| # Documentation: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners | ||
|
|
||
| # Syntax: | ||
| # file-pattern @user-or-team-name | ||
|
|
||
| # ===== EXAMPLES (All commented out! Make sure to uncomment the patterns you want to use) ===== | ||
|
|
||
| # Default owners for everything in the repo (unless a later match takes precedence) | ||
| # A request for review needs to be sent to a team for changes to any file | ||
| # * @johndoe @janedoe | ||
| # * @apps-team | ||
|
|
||
| # Owners for all files in the root directory | ||
| # /* @root-directory-owners | ||
|
|
||
| # Owners for specific file types across the entire repository | ||
| # *.js @javascript-owners | ||
| # *.go @go-owners | ||
| # *.sql @database-team | ||
|
|
||
| # Owners for specific directories and all contained files | ||
| # Each line is a file pattern followed by one or more owners. | ||
| # You can use team names as well (must be in the same org) | ||
| # /apps/ @johndoe @apps-team | ||
| # /api/ @janedoe @api-team | ||
| # /docs/ @documentation-team | ||
| # /config/ @platform-team | ||
| # /scripts/ @devops-team | ||
|
|
||
| # Owners for specific files | ||
| # /CONTRIBUTING.md @community-manager | ||
| # /LICENSE @legal-team | ||
| # /SECURITY.md @security-team | ||
|
|
||
| # Path exclusions with ! - the following will not match | ||
| # /logs/ @logger-team | ||
| # !/logs/high-priority/ @emergency-team | ||
|
|
||
| # Nested team ownership | ||
| # /src/ @dev-team | ||
| # /src/api/ @api-team | ||
| # /src/ui/ @frontend-team | ||
|
|
||
| # Different owners based on file location | ||
| # package.json @dependency-managers | ||
| # /test/package.json @test-dependency-managers | ||
|
|
||
| # Wildcard patterns | ||
| # /src/**/test/ @test-owners | ||
| # /src/*/index.js @index-owners | ||
|
|
||
| # IMPORTANT NOTES: | ||
| # - Order matters! The last matching pattern takes precedence. | ||
| # - CODEOWNERS only works on branch protections that require PR reviews. | ||
| # - @username, @org/team-name or email@domain.com formats are supported. | ||
| # - CODEOWNERS must be in the root, .github/, or docs/ directory to work. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍