diff --git a/.github/workflows/license-checker.yaml b/.github/workflows/license-checker.yaml new file mode 100644 index 00000000..4effb8c1 --- /dev/null +++ b/.github/workflows/license-checker.yaml @@ -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 \ No newline at end of file diff --git a/.licenserc.yaml b/.licenserc.yaml new file mode 100644 index 00000000..911b573c --- /dev/null +++ b/.licenserc.yaml @@ -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 \ No newline at end of file diff --git a/saga_designer/dist/bundle.js.map b/saga_designer/dist/bundle.js.map index 7adbaa20..c7364dfe 100644 --- a/saga_designer/dist/bundle.js.map +++ b/saga_designer/dist/bundle.js.map @@ -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":""} \ No newline at end of file diff --git a/saga_designer/index.html b/saga_designer/index.html index 058fc84d..9db6e750 100644 --- a/saga_designer/index.html +++ b/saga_designer/index.html @@ -1,3 +1,16 @@ + + + + + + + + + + + + + diff --git a/saga_designer/vedio.html b/saga_designer/vedio.html index 095b3913..0a2eddbc 100644 --- a/saga_designer/vedio.html +++ b/saga_designer/vedio.html @@ -1,3 +1,16 @@ + + + + + + + + + + + + + diff --git a/template.ejs b/template.ejs index d7a28e29..eae0ab41 100644 --- a/template.ejs +++ b/template.ejs @@ -1,3 +1,17 @@ + + + + + + + + + + + + + +