About the issue of uploading open source license files #3132
-
|
Regarding open source licenses, can I upload the license file to the repository? Because GitHub's workflow has processes responsible for packaging and checking, if I don't upload the license file, it may cause some issues. I think the prohibition of uploading license files is to prevent license leakage and abuse, but even if I don't upload it, some way is needed to obtain the content of the license file in the workflow for checking, which also leads to license leakage and abuse. So, what should I do? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
There’s documentation for this. Use GitHub secrets. https://docs.sixlabors.com/articles/imagesharp/index.html?tabs=tabid-1#how-to-use-the-license-file |
Beta Was this translation helpful? Give feedback.
-
|
The inconvenience here is that this breaks the F5 experience, raising the barrier for contribution. Wouldn't it be possible to find a solution for this? I'm just spitballing here, but perhaps the license checking logic could match the consuming project's name and other details, also about the solution if possible, as some kind of fingerprinting. So, there could be a license for IS libraries to be consumed e.g. only by the Obviously this opens up vectors for abuse, but as a malicious user you'd need to make your consumer project, depending on the fingerprinting techniques used, so close to |
Beta Was this translation helpful? Give feedback.
There’s documentation for this. Use GitHub secrets.
https://docs.sixlabors.com/articles/imagesharp/index.html?tabs=tabid-1#how-to-use-the-license-file