This action checks the licenses (npm and nuget) int he current repository and makes a comment about that. It uses following 2 tools to check the licenses
- NPM: https://github.com/tmorell/license-compliance
- nuget: https://github.com/tomchavakis/nuget-license
See action.yml
steps:
- uses: neolution-ch/action-check-licenses@v0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
continueOnBlockedFound: true
blockedLicenses: |
GPL
GPL-2.0
ignoreFolders: |
MyUnitTestProject
IgnoreThisFolder