-
Notifications
You must be signed in to change notification settings - Fork 456
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
Please update license so GitHub will recognize its type in the API #338
Comments
I know you have the file, but maybe it doesn't recognize it because of the |
Hi @lann — Thank you for such a super-quick response. Correct. GitHub knows where your license is, but it does not recognize what your license is. However, since I posted this issue I realized that you cannot change it via the admin UI for an existing project but instead you need to edit it so that GitHub will recognize it correctly. A PR will soon follow for this. BTW, for clarity take a look at what Postman shows when calling the GitHub API to request your repository's license: And here is what it looks when requesting a license that GitHub recognizes: Next here it what it looks like on the GitHub UI when GitHub knows what a license is: And here it what it looks like for your repo where GitHub does not know what your license is: |
As promised, please see #339 that would allow GitHub to recognize your license. |
Actually, that did not fix it. Hold on the PR, please... |
I am working on a license checker using the GitHub API and it comes back with
NOASSERTION
for this repo rather thanMIT
.Would it be possible for you to assert your license type in the Github Admin U so the API response would say
MIT
?https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository
Thank you in advance or considering.
The text was updated successfully, but these errors were encountered: