-
Notifications
You must be signed in to change notification settings - Fork 10
Add GH Action to check file headers #106
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
Conversation
Signed-off-by: Victor Chang <[email protected]>
Signed-off-by: Victor Chang <[email protected]>
Codecov Report
@@ Coverage Diff @@
## develop #106 +/- ##
===================================================
+ Coverage 93.64375% 93.65879% +0.01503%
===================================================
Files 222 222
Lines 13294 13294
Branches 702 702
===================================================
+ Hits 12449 12451 +2
+ Misses 612 611 -1
+ Partials 233 232 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -99,6 +116,12 @@ jobs: | |||
|
|||
- name: Secret detection | |||
uses: gitleaks/[email protected] | |||
|
|||
- name: Perform License Scanning | |||
run: license_finder -r |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need the allowlist adding? Also does it need a mention in the README how it can be added to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call! I have updated CONTRIBUTING.md with information on license/package scanning!
Signed-off-by: Victor Chang <[email protected]>
Signed-off-by: Victor Chang <[email protected]>
* Enable license finder & header scan * Update files with full Apache-2.0 text * Update CONTRIBUTING with license/package scanning info Signed-off-by: Victor Chang <[email protected]>
Description
Checks files for a valid Apache-2.0 header otherwise fail the build.
This change requires changing existing SPDX license headers to include full Apache-2.0 license text.
Adds nuget license scanning
Status
Ready
Types of changes