add license checker (#499)
This commit is contained in:
parent
40dbc64114
commit
31c5f51cb9
|
@ -0,0 +1,27 @@
|
|||
name: License checker
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ develop, master ]
|
||||
|
||||
jobs:
|
||||
check-license:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# step 1
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2.4.0
|
||||
# step 2
|
||||
- name: Check License Header
|
||||
uses: apache/skywalking-eyes/header@25edfc2fd8d52fb266653fb5f6c42da633d85c07
|
||||
with:
|
||||
log: info
|
||||
config: .licenserc.yaml
|
||||
mode: check
|
||||
# step 3
|
||||
- name: Check Dependencies' License
|
||||
uses: apache/skywalking-eyes/dependency@25edfc2fd8d52fb266653fb5f6c42da633d85c07
|
||||
with:
|
||||
log: info
|
||||
config: .licenserc.yaml
|
||||
mode: check
|
|
@ -0,0 +1,66 @@
|
|||
#
|
||||
# Copyright 1999-2019 Seata.io Group.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
header:
|
||||
license:
|
||||
spdx-id: Apache-2.0
|
||||
copyright-owner: Seata.io
|
||||
content: |
|
||||
Copyright 1999-2019 Seata.io Group.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
paths-ignore:
|
||||
- '.gitignore'
|
||||
- '*.md'
|
||||
- 'LICENSE'
|
||||
- '**/*.md'
|
||||
- '.github/**'
|
||||
- '.babelrc'
|
||||
- '.docsite'
|
||||
- '.eslintrc'
|
||||
- '.htaccess'
|
||||
- '.nojekyll'
|
||||
- '404.html'
|
||||
- 'CNAME'
|
||||
- 'img/**'
|
||||
- '**/*.json'
|
||||
- '**/*.js'
|
||||
- '**/*.css'
|
||||
- '**/*.jsx'
|
||||
- '**/*.scss'
|
||||
- 'server'
|
||||
- '**/*.svg'
|
||||
- '*.ejs'
|
||||
- '*.xml'
|
||||
- '*.yml'
|
||||
- '*.map'
|
||||
- 'saga_designer/**'
|
||||
|
||||
|
||||
comment: on-failure
|
||||
dependency:
|
||||
files:
|
||||
- package.json
|
|
@ -1 +1,14 @@
|
|||
//Copyright 1999-2019 Seata.io Group.
|
||||
//
|
||||
//Licensed under the Apache License, Version 2.0 (the "License");
|
||||
//you may not use this file except in compliance with the License.
|
||||
//You may obtain a copy of the License at
|
||||
//
|
||||
//http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
//Unless required by applicable law or agreed to in writing, software
|
||||
//distributed under the License is distributed on an "AS IS" BASIS,
|
||||
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
//See the License for the specific language governing permissions and
|
||||
//limitations under the License.
|
||||
{"version":3,"file":"bundle.js","sources":["webpack:///bundle.js"],"mappings":"AAAA;;;;;;AAgsIA;;;;;;AAw9RA;;;;;;AAw3lBA;;;;;;AAMA;;;;;;AAMA;;;;;AAktIA;;;;;AAyiGA","sourceRoot":""}
|
|
@ -1,3 +1,16 @@
|
|||
<!--Copyright 1999-2019 Seata.io Group.-->
|
||||
|
||||
<!--Licensed under the Apache License, Version 2.0 (the "License");-->
|
||||
<!--you may not use this file except in compliance with the License.-->
|
||||
<!--You may obtain a copy of the License at-->
|
||||
|
||||
<!--http://www.apache.org/licenses/LICENSE-2.0-->
|
||||
|
||||
<!--Unless required by applicable law or agreed to in writing, software-->
|
||||
<!--distributed under the License is distributed on an "AS IS" BASIS,-->
|
||||
<!--WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-->
|
||||
<!--See the License for the specific language governing permissions and-->
|
||||
<!--limitations under the License.-->
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
|
|
|
@ -1,3 +1,16 @@
|
|||
<!--Copyright 1999-2019 Seata.io Group.-->
|
||||
|
||||
<!--Licensed under the Apache License, Version 2.0 (the "License");-->
|
||||
<!--you may not use this file except in compliance with the License.-->
|
||||
<!--You may obtain a copy of the License at-->
|
||||
|
||||
<!--http://www.apache.org/licenses/LICENSE-2.0-->
|
||||
|
||||
<!--Unless required by applicable law or agreed to in writing, software-->
|
||||
<!--distributed under the License is distributed on an "AS IS" BASIS,-->
|
||||
<!--WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-->
|
||||
<!--See the License for the specific language governing permissions and-->
|
||||
<!--limitations under the License.-->
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
|
|
14
template.ejs
14
template.ejs
|
@ -1,3 +1,17 @@
|
|||
<!-- Copyright 1999-2019 Seata.io Group. -->
|
||||
|
||||
<!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
|
||||
<!-- you may not use this file except in compliance with the License. -->
|
||||
<!-- You may obtain a copy of the License at -->
|
||||
|
||||
<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
|
||||
|
||||
<!-- Unless required by applicable law or agreed to in writing, software -->
|
||||
<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
|
||||
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
|
||||
<!-- See the License for the specific language governing permissions and -->
|
||||
<!-- limitations under the License. -->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
|
|
Loading…
Reference in New Issue