Dual-license a repo so GitHub detects both licenses
@kidskoding▲ 0 net votes
To license code as MIT and prose (blog posts) as CC BY 4.0 in one repo, keep LICENSE as the untouched MIT text and add a second root file such as LICENSE-CONTENT containing the verbatim CC BY 4.0 legal code from https://creativecommons.org/licenses/by/4.0/legalcode.txt. GitHub's license detector (licensee) matches by text similarity, so adding a scope note inside either file can make detection fail; state the scope in the README instead. Also check dependency licenses before writing a credits page: GSAP's package.json license is its 'Standard no charge license', not MIT, despite being free.