forked from apache/incubator-seata
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimize: add license checker workflow (apache#4911)
- Loading branch information
Showing
43 changed files
with
674 additions
and
24 deletions.
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,27 @@ | ||
name: License checker | ||
|
||
on: | ||
pull_request: | ||
branches: [ develop, master ] | ||
|
||
jobs: | ||
check-license: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# step 1 | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
# step 2 | ||
- name: Check License Header | ||
uses: apache/skywalking-eyes/[email protected] | ||
with: | ||
log: info | ||
config: .licenserc.yaml | ||
mode: check | ||
# step 3 | ||
- name: Check Dependencies' License | ||
uses: apache/skywalking-eyes/[email protected] | ||
with: | ||
log: info | ||
config: .licenserc.yaml | ||
mode: check |
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,85 @@ | ||
# | ||
# 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' | ||
- '.gitattributes' | ||
- '.travis.yml' | ||
- 'codecov.yml' | ||
- 'CONTRIBUTING.md' | ||
- 'CONTRIBUTING_CN.md' | ||
- 'CODE_OF_CONDUCT.md' | ||
- 'README.md' | ||
- 'LICENSE' | ||
- 'NOTICE' | ||
- '**/*.md' | ||
- '.github/**' | ||
#SPI、spring.factories、spring-configuration-metadata.json、additional-spring-configuration-metadata.json | ||
- '**/src/test/resources/META-INF/**' | ||
- '**/src/main/resources/META-INF/**' | ||
- '**/target/**' | ||
- '**/*.iml' | ||
- 'mvnw' | ||
- 'mvnw.cmd' | ||
- '*.sh' | ||
- 'changes/**' | ||
- 'style/**' | ||
- 'script/**' | ||
- 'seata-plugins/**' | ||
- '.mvn/**' | ||
- 'sessionStore/**' | ||
- 'distribution/LICENSE-BIN' | ||
- 'distribution/NOTICE-BIN' | ||
- 'test/src/test/resources/**' | ||
- 'serializer/seata-serializer-protobuf/src/main/resources/protobuf/io/seata/protocol/transcation/*.proto' | ||
- 'saga/seata-saga-statemachine-designer/node_modules/**' | ||
- 'node_modules/**' | ||
- 'saga/seata-saga-statemachine-designer/**' | ||
- '**/src/test/resources/statelang/**' | ||
- 'console/src/main/resources/static/console-fe/**' | ||
- '**/io/seata/sqlparser/antlr/**/*.g4' | ||
- '**/io/seata/sqlparser/antlr/mysql/parser/*' | ||
- '**/integration/**/*.proto' | ||
- 'console/src/main/resources/static/**' | ||
- 'ext/apm-seata-skywalking-plugin/config/agent.config' | ||
- 'server/src/main/resources/lua/redislocker/redislock.lua' | ||
|
||
|
||
comment: on-failure | ||
dependency: | ||
files: | ||
- pom.xml | ||
- package.json | ||
excludes: | ||
- name: io.seata:* |
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
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
13 changes: 13 additions & 0 deletions
13
config/seata-config-core/src/test/resources/file-test-pro.conf
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
13 changes: 13 additions & 0 deletions
13
config/seata-config-core/src/test/resources/file-test-yaml.conf
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
13 changes: 13 additions & 0 deletions
13
config/seata-config-core/src/test/resources/file-test.conf
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
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
1 change: 0 additions & 1 deletion
1
config/seata-config-core/src/test/resources/registry-test-pro.properties
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
#Copyright 1999-2019 Seata.io Group. | ||
# | ||
#Licensed under the Apache License, Version 2.0 (the "License"); | ||
|
14 changes: 14 additions & 0 deletions
14
config/seata-config-core/src/test/resources/registry-test-yaml.yml
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
13 changes: 13 additions & 0 deletions
13
config/seata-config-core/src/test/resources/registry-test.conf
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
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
14 changes: 14 additions & 0 deletions
14
config/seata-config-custom/src/test/resources/registry.conf
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
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
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
14 changes: 14 additions & 0 deletions
14
discovery/seata-discovery-custom/src/test/resources/registry.conf
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
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
Oops, something went wrong.