[github] Add CODEOWNERS sync support (#67)#127
Merged
Conversation
Contributor
|
🚀 Preview is available for this pull request. |
adb4024 to
af56b86
Compare
69320f3 to
5a09f6c
Compare
abb4aa1 to
14353c2
Compare
97fcfdb to
eda666a
Compare
74bacda to
fa898e6
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Related Issue
Closes #67
Motivation / Context
.github/CODEOWNERSby handChanges
codeownerscommand that generates.github/CODEOWNERSfrom localcomposer.jsonmetadata--interactivemode when inference is insufficientcodeownersfromdev-tools:syncand document CODEOWNERS among synchronized consumer assetsVerification
composer dev-tools./vendor/bin/phpunit tests/CodeOwners/CodeOwnersGeneratorTest.php tests/Console/Command/CodeOwnersCommandTest.php tests/Console/Command/SyncCommandTest.phpcomposer dev-tools changelog:checkphp bin/dev-tools codeowners --helpphp bin/dev-tools codeowners --dry-rungit diff --checkcodeowners --dry-runreports the generated.github/CODEOWNERSdiff without writing a filecomposer dev-toolswas also run, but it still fails in this environment during the reports stage because childdocs,tests, andmetricssubprocesses attempt to open/dev/tty.Documentation / Generated Output
docs/updatedChangelog
CHANGELOG.mdentryReviewer Notes
--interactiveprovides a direct path to populate the catch-all rule