File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ header :
2
+ license :
3
+ spdx-id : Apache-2.0
4
+ copyright-owner : Apache Software Foundation
5
+
6
+ paths :
7
+ - ' **'
8
+
9
+ paths-ignore :
10
+ - ' **/*.md'
11
+ - ' **/.gitignore'
12
+ - ' .github/**'
13
+ - ' LICENSE'
14
+ - ' NOTICE'
15
+ - ' .asf.yaml'
16
+ - ' .nojekyll'
17
+
18
+ comment : on-failure
Original file line number Diff line number Diff line change
1
+ #
2
+ # Licensed to the Apache Software Foundation (ASF) under one
3
+ # or more contributor license agreements. See the NOTICE file
4
+ # distributed with this work for additional information
5
+ # regarding copyright ownership. The ASF licenses this file
6
+ # to you under the Apache License, Version 2.0 (the
7
+ # "License"); you may not use this file except in compliance
8
+ # with the License. You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing,
13
+ # software distributed under the License is distributed on an
14
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ # KIND, either express or implied. See the License for the
16
+ # specific language governing permissions and limitations
17
+ # under the License.
18
+ #
19
+
20
+ name : Build and test
21
+
22
+ on :
23
+ push :
24
+ branches : [ "main" ]
25
+ pull_request :
26
+ branches : [ "main" ]
27
+
28
+ jobs :
29
+ license-check :
30
+ name : " License Check"
31
+ runs-on : ubuntu-latest
32
+ steps :
33
+ - name : Checkout repository
34
+ uses : actions/checkout@v3
35
+ - name : Check license header
36
+ uses : apache/skywalking-eyes@main
37
+ env :
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
+ with :
40
+ config : .github/.licenserc.yaml
You can’t perform that action at this time.
0 commit comments