Skip to content
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

LICENSE not detected when in .github folder #250

lhein opened this issue Dec 22, 2017 · 2 comments


Copy link

commented Dec 22, 2017

I am wondering why you don't check the .github folder of a project for the LICENSE file. This folder is used for storing specific files like README, BUILDING, CONTRIBUTING, etc.
Shouldn't be the LICENSE file be detected in there too?


This comment has been minimized.

Copy link

commented Dec 26, 2017

@lhein Right now, Licensee only detects license files in the project's root. GitHub looks for other community files, like CONTRIBUTING, README, and SUPPORT in the docs folder or .github folder, but we specifically exclude LICENSE files from that implementation.

The idea being that while things like README or CONTRIBUTING are use/workflow documentation that users look for when needed, the LICENSE file has a notice component to it and putting it in a subfolder decreases that function. Not to mention, some projects use the design pattern of LICENSE files applying to folder trees, meaning it'd be ambiguous if the LICENSE governed the .github folder or the project as a whole. Last, while things like ISSUE_TEMPLATE may be specific to .github, the LICENSE is not (and thus I don't think belongs in a GitHub-specific metadata folder).

Can you explain a bit more about why you're looking to put a LICENSE file in the .github folder?

/cc @mlinksva


This comment has been minimized.

Copy link

commented Jan 4, 2018

@benbalter I was just curious about the reasons behind your decision. Your explanation makes totally sense to me and therefore I close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.