Skip to content

chore: add license-checker for license validation #30

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

Merged
merged 1 commit into from
Apr 11, 2025

Conversation

edodusi
Copy link
Contributor

@edodusi edodusi commented Apr 9, 2025

No description provided.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.42%. Comparing base (041e858) to head (40d4307).

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #30   +/-   ##
=========================================
  Coverage     92.42%   92.42%           
  Complexity      293      293           
=========================================
  Files            65       65           
  Lines          1161     1161           
=========================================
  Hits           1073     1073           
  Misses           88       88           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@silasjoisten
Copy link
Collaborator

@edodusi thanks what is the purpose of that? Is it needed?

@edodusi
Copy link
Contributor Author

edodusi commented Apr 9, 2025

@silasjoisten yes it's needed per Storyblok's policy

@edodusi
Copy link
Contributor Author

edodusi commented Apr 9, 2025

@silasjoisten this checks that the dependencies in composer are using an allowed license.
Allowed licenses are:

$allowedLicenses = [
    'MIT',
    'BSD-3-Clause',
    'Apache-2.0',
];

@edodusi edodusi merged commit 095f69e into master Apr 11, 2025
5 checks passed
@edodusi edodusi deleted the chore/license-checker-ci branch April 11, 2025 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants