-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[ci] Update codeowners script #5212
Conversation
1b094e0
to
c1ff9ab
Compare
fc5bfab
to
d46f86e
Compare
I don't get why the sort isn't working. |
d46f86e
to
bc1fe3c
Compare
Sort looks good (based on the tee output on actions: Details
but it seems that However it seems that the file inside the PR is not sorted which result in a diff. |
bc1fe3c
to
7c9ef3d
Compare
When I run the script locally, I get a different order result. |
c6fd3b6
to
31b478e
Compare
There, I simplified the script down to one line of |
31b478e
to
9c432a6
Compare
* Fixup issue link to point to correct location. * Remove `@jkroepke` from manual listing now that they are a member of `helm-chart-admins`. * Refactor `scripts/check-codeowners.sh` to simplify it. Signed-off-by: SuperQ <superq@gmail.com>
9c432a6
to
8d8ab0d
Compare
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.
Tested locally and works on my machine. Great, that you found a simpler way. Sounds like a good template for the MAINTAINER.md as well.
./scripts/check-codeowners.sh > .github/CODEOWNERS
# git diff is empty.
Mark as root to enforce repo settings. Co-authored-by: Jan-Otto Kröpke <github@jkroepke.de> Signed-off-by: Ben Kochie <superq@gmail.com>
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.
LGTM
What this PR does / why we need it
@jkroepke
from manual listing now that they are a member ofhelm-chart-admins
.scripts/check-codeowners.sh
to simplify it.Which issue this PR fixes
(optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged)Special notes for your reviewer
Checklist
[prometheus-couchdb-exporter]
)