-
Notifications
You must be signed in to change notification settings - Fork 7
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
build: Introduce license check [TSI-2536] #621
Merged
Merged
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
90b743b
build: Introduce license check [TSI-2536]
jablan 4c980db
add GH action
jablan 4ffa253
adapt action for NPM
jablan 811ac90
use older ruby
jablan b017c92
try github in gemfile
jablan e52f3d9
remove Gemfile as it is created on the fly in lawa action
jablan eed70f3
use same ruby and bundler versions as in phrase project
jablan 3e64a37
use shared action
jablan 7a81647
downgrade ruby version
jablan 162f303
add explicit licence check for rapidoc
jablan 84e8f6d
use main branch of shared lawa action
jablan e7a3220
trigger on every push
jablan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: License Check | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- "**" | ||
jobs: | ||
lawa-npm-ci: | ||
name: NPM license checks | ||
uses: phrase/actions/.github/workflows/lawa-npm-ci.yml@main | ||
with: | ||
node-version: 18 | ||
ruby-version: 3.1.3 | ||
decisions-file: config/license-decisions.yml | ||
secrets: | ||
github-token: ${{ secrets.GH_ACCESS_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
--- | ||
- - :permit | ||
- MIT | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:52:32.461857690 Z | ||
- - :permit | ||
- ISC | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:52:46.194481344 Z | ||
- - :permit | ||
- Apache 2.0 | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:52:56.870964019 Z | ||
- - :permit | ||
- Simplified BSD | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:53:09.055435160 Z | ||
- - :permit | ||
- 2-clause BSDL | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:53:23.315241861 Z | ||
- - :permit | ||
- New BSD | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:54:09.841400998 Z | ||
- - :permit | ||
- WTFPL | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:54:16.868464706 Z | ||
- - :permit | ||
- CC0-1.0 | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:56:39.638561577 Z | ||
- - :permit | ||
- CC0-BY-3.0 | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:56:47.740690013 Z | ||
- - :permit | ||
- Apache-2.0 WITH LLVM-exception | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:57:00.600618360 Z | ||
- - :permit | ||
- LGPL-2.1+ | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:57:22.980208749 Z | ||
- - :permit | ||
- ruby | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:57:37.441754850 Z | ||
- - :permit | ||
- CC-BY-4.0 | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:57:42.971775726 Z | ||
- - :permit | ||
- SIL OPEN FONT LICENSE Version 1.1 | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 12:58:06.967893021 Z | ||
- - :permit | ||
- Zlib | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-10 13:06:01.563813765 Z | ||
- - :permit | ||
- CC-BY-3.0 | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2020-08-11 05:37:47.340170966 Z | ||
- - :permit | ||
- Mozilla Public License 2.0 | ||
- :who: Sven Dunemann | ||
:why: same as MPL 2.0 | ||
:versions: [] | ||
:when: 2021-06-03 06:04:40.085744298 Z | ||
- - :permit | ||
- Unlicense | ||
- :who: Sven Dunemann | ||
:why: free to use for everyone | ||
:versions: [] | ||
:when: 2021-06-03 06:05:29.754925608 Z | ||
- - :permit | ||
- BSD Zero Clause License | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2021-06-03 06:07:12.303998286 Z | ||
- - :permit | ||
- BSD | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2021-06-03 06:07:29.530792613 Z | ||
- - :permit | ||
- Public Domain | ||
- :who: Sven Dunemann | ||
:why: free to use for everyone | ||
:versions: [] | ||
:when: 2021-06-03 06:09:51.215886401 Z | ||
- - :permit | ||
- Python 2.0 | ||
- :who: Sven Dunemann | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2021-06-03 06:07:12.303998286 Z | ||
- - :permit | ||
- Python-2.0 | ||
- :who: Mladen Jablanovic | ||
:why: commercial use allowed | ||
:versions: [] | ||
:when: 2024-06-04 14:29:07.814825827 Z | ||
- - :add_package | ||
- rapidoc | ||
- 9.1.3 | ||
- &1 | ||
:who: | ||
:why: | ||
:versions: [] | ||
:when: 2024-06-06 11:13:46.495694105 Z | ||
- - :license | ||
- rapidoc | ||
- MIT | ||
- *1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
/*! | ||
* @description Recursive object extending | ||
* @author Viacheslav Lotsmanov <lotsmanov89@gmail.com> | ||
* @license MIT | ||
* | ||
* The MIT License (MIT) | ||
* | ||
* Copyright (c) 2013-2018 Viacheslav Lotsmanov | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
* this software and associated documentation files (the "Software"), to deal in | ||
* the Software without restriction, including without limitation the rights to | ||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
* the Software, and to permit persons to whom the Software is furnished to do so, | ||
* subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in all | ||
* copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
*/ | ||
|
||
/*! | ||
* The buffer module from node.js, for the browser. | ||
* | ||
* @author Feross Aboukhadijeh <https://feross.org> | ||
* @license MIT | ||
*/ | ||
|
||
/*! | ||
* cookie | ||
* Copyright(c) 2012-2014 Roman Shtylman | ||
* Copyright(c) 2015 Douglas Christopher Wilson | ||
* MIT Licensed | ||
*/ | ||
|
||
/*! | ||
* https://github.com/Starcounter-Jack/JSON-Patch | ||
* (c) 2017 Joachim Wester | ||
* MIT license | ||
*/ | ||
|
||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ | ||
|
||
/** | ||
* @license | ||
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | ||
* This code may only be used under the BSD style license found at | ||
* http://polymer.github.io/LICENSE.txt | ||
* The complete set of authors may be found at | ||
* http://polymer.github.io/AUTHORS.txt | ||
* The complete set of contributors may be found at | ||
* http://polymer.github.io/CONTRIBUTORS.txt | ||
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/ | ||
|
||
/** | ||
* Prism: Lightweight, robust, elegant syntax highlighting | ||
* | ||
* @license MIT <https://opensource.org/licenses/MIT> | ||
* @author Lea Verou <https://lea.verou.me> | ||
* @namespace | ||
* @public | ||
*/ | ||
|
||
/** | ||
* @preserve | ||
* RapiDoc 9.1.3 - WebComponent to View OpenAPI docs | ||
* License: MIT | ||
* Repo : https://github.com/mrin9/RapiDoc | ||
* Author : Mrinmoy Majumdar | ||
* | ||
/******/ | ||
|
||
/** | ||
@license | ||
Copyright (c) 2019 The Polymer Project Authors. All rights reserved. | ||
This code may only be used under the BSD style license found at | ||
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at | ||
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be | ||
found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as | ||
part of the polymer project is also subject to an additional IP rights grant | ||
found at http://polymer.github.io/PATENTS.txt | ||
*/ |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Wouldn't just
push
work as well? Now we're running in on master commits andpull_request
but I think that would be the same as running it on every commitThere 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.
lol, I copied that part from https://github.com/phrase/phrase/blob/master/.github/workflows/licenses.yml#L2-L8
but I guess you're right, I'll update it.