Bug Report: List Codeowners Errors endpoint does not return errors for branches in private repos. #55942
Unanswered
TansyArron
asked this question in
API and Webhooks
Replies: 1 comment
-
This is particularly dangerous because the codeowners feature is designed to act as a control, and in this case, we have a situation where using the API to check the validity of that control fails silently. Special thanks to @TansyArron for posting this. I lost an afternoon trying to figure out how on earth I was getting back an empty error message, and could have lost a lot more time if not for this post. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Bug
Body
I'm working on a github action to prevent PR's with malformed CODEOWNERS files from being merged. In my initial testing I found that calling the github api endpoint for list codeowners errors returns an empty list of errors even when errors are present.
Repro:
Notes:
Beta Was this translation helpful? Give feedback.
All reactions