Add CODEOWNERS support

This commit is contained in:
Zach White 2021-09-18 22:51:44 -07:00
parent c4a891d425
commit 65fd33ec0e
4 changed files with 14 additions and 5 deletions

View file

@ -17,7 +17,7 @@ def ping_maintainers(cli):
for file in cli.args.files:
for maintainer in maintainers(file):
if maintainer != 'qmk/collaborators':
github_maintainers.add('@' + maintainer)
github_maintainers.add(maintainer)
if github_maintainers:
print(f'If you were pinged by this comment you have one or more files being changed by this PR: {" ".join(sorted(github_maintainers))}')