Begin using CODEOWNERS in this repo #1220
Comments
It would also be nice if everyone could update the README and Documentation. |
So maybe something like
|
I think this is a great approach. I agree that /docs and README are fine to be permissive. I assume More on CODEOWNERS https://help.github.com/en/articles/about-code-owners (I was unfamiliar with the feature) |
Yes |
I think this makes sense to do. |
@gene1wood PR away! |
Sounds good! |
Relates to mozilla#1220
Once #1237 is merged we'll want to change the branch protection settings |
|
Looks like we've got the |
I unchecked the "Restrict who can push to matching branches" so we should be all set? |
Tristan had added you and Andrew to the list of folks that can merge code, so based on our discussion, I think we want to have "Restrict who can push to matching branches" in addition to having "Require review from Code Owners" checked. |
We'll need to keep in mind going forward then that the controls for who can modify various files in the MozDef codebase is controlled by the intersection of the reviewers defined in CODEOWNERS and the users who have merge permissions. If we want to modify CODEOWNERS to grant someone else rights to modify some aspect of the code (by approving a PR) we'll need to also add them to the list of users with rights to merge. |
https://help.github.com/en/articles/about-code-owners
Given that we have different groups of people working on different parts of the codebase (e.g. @andrewkrug and I working on CI/CD), if we define a CODEOWNERS file and then enable merging to follow that file, I can for example merge a change to CI/CD that doesn't affect the MozDef codebase without requiring @pwnbus to review and merge.
I wanted to see if this sounded ok before PRing a file for CODEOWNERS.
This would potentially have a section like
Then we'd uncheck
Restrict who can push to matching branches
And add a check to
Require review from Code Owners
This way
Thoughts @jeffbryner @pwnbus @mpurzynski @Phrozyn @tristanweir?
The text was updated successfully, but these errors were encountered: