Repository navigation
Add SPDX license header checker and missing headers - #5725
shreyah963 wants to merge 5 commits into
Conversation
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit b00be95.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project check has failed because the head coverage (75.19%) is below the target coverage (99.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #5725 +/- ##
=========================================
Coverage 75.19% 75.19%
Complexity 10362 10362
=========================================
Files 962 962
Lines 41098 41098
Branches 4683 4683
=========================================
Hits 30905 30905
Misses 8896 8896
Partials 1297 1297
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
We've had this for a while in our existing spotless configs, I think these files are old files from before the config was added. https://github.com/search?q=repo%3Aopensearch-project%2Fsql+licenseHeader&type=code Would prefer to just use the existing config & fix all the old inherited files once. A separate CI check for this is redundant if it's a spotless rule. |
Signed-off-by: shreyah963 <shreyab963@gmail.com>
Signed-off-by: shreyah963 <shreyab963@gmail.com>
Signed-off-by: shreyah963 <shreyab963@gmail.com>
Signed-off-by: shreyah963 <shreyab963@gmail.com>
bffd3c9 to
5adee47
Compare
Signed-off-by: shreyah963 <shreyab963@gmail.com>
Description
Add SPDX license header validation to PR/push workflows using
@kt3k/license-checker.Changes:
.github/workflows/license-header-checker.yml.licenserc.jsonSPDX-License-Identifier: Apache-2.0headers to source filesRelated Issues
#6445
Check List
--signoffor-s.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.