1
0
mirror of https://github.com/apache/dubbo.git synced 2024-10-23 07:04:37 +08:00

feat: add apache/skywalking-eyes@main job (#10662)

* feat: add apache/skywalking-eyes@main job

* feat: add ASF license header
This commit is contained in:
sunchaser-lilu 2022-09-26 13:59:17 +08:00 committed by GitHub
parent eb0e25e55f
commit 2c54859b0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 121 additions and 1 deletions

View File

@ -1,3 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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.
#
coverage:
status:
# pull-requests only
@ -8,4 +23,4 @@ ignore:
- "dubbo-demo/.*"
- "dubbo-common/src/main/java/org/apache/dubbo/common/json/*.java" # internal JSON impl is deprecate, ignore test coverage for them
- "dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/AnnotationBean.java" # Deprecated
- "dubbo-rpc/dubbo-rpc-thrift/.*"
- "dubbo-rpc/dubbo-rpc-thrift/.*"

View File

@ -18,6 +18,14 @@ env:
'
jobs:
license:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Check License
uses: apache/skywalking-eyes@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-source:
runs-on: ubuntu-18.04
outputs:

82
.licenserc.yaml Normal file
View File

@ -0,0 +1,82 @@
header:
license:
spdx-id: Apache-2.0
content: |
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You 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:
- '**/*.versionsBackup'
- '**/.idea/'
- '**/*.iml'
- '**/.settings/*'
- '**/.classpath'
- '**/.project'
- '**/target/**'
- '**/generated/**'
- '**/*.log'
- '**/codestyle/*'
- '**/resources/META-INF/**'
- '**/resources/mockito-extensions/**'
- '**/*.proto'
- '**/*.cache'
- '**/*.txt'
- '**/*.load'
- '**/*.flex'
- '**/*.fc'
- '**/*.javascript'
- '**/*.properties'
- '**/*.thrift'
- '**/*.sh'
- '**/*.bat'
- '**/*.md'
- '**/*.svg'
- '**/*.png'
- '**/*.json'
- '**/*.conf'
- '**/*.ftl'
- '**/*.tpl'
- '**/*.factories'
- '**/*.handlers'
- '**/*.schemas'
- '**/*.nojekyll'
- '.git/'
- '.github/**'
- '**/.gitignore'
- '**/.helmignore'
- '.repository/'
- 'compiler/**'
- '.gitmodules'
- '.mvn'
- 'mvnw'
- 'mvnw.cmd'
- 'LICENSE'
- 'NOTICE'
- 'CNAME'
- 'Jenkinsfile'
- '**/vendor/**'
- 'dubbo-common/src/main/java/org/apache/dubbo/common/threadlocal/InternalThreadLocal.java'
- 'dubbo-common/src/main/java/org/apache/dubbo/common/threadlocal/InternalThreadLocalMap.java'
- 'dubbo-common/src/main/java/org/apache/dubbo/common/timer/HashedWheelTimer.java'
- 'dubbo-common/src/main/java/org/apache/dubbo/common/timer/Timeout.java'
- 'dubbo-common/src/main/java/org/apache/dubbo/common/timer/Timer.java'
- 'dubbo-common/src/main/java/org/apache/dubbo/common/timer/TimerTask.java'
- 'dubbo-common/src/main/java/org/apache/dubbo/common/utils/CIDRUtils.java'
- 'dubbo-common/src/main/java/org/apache/dubbo/common/utils/Utf8Utils.java'
- 'dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/EmbeddedZooKeeper.java'
comment: on-failure
license-location-threshold: 130

View File

@ -1,3 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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.
#
sudo: false # faster builds
os: linux
dist: focal