Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .actions/ASF-Release.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ ASFLicenseHeaderLua.txt
*.swift=no_tabs, has_block_license, eol_at_eof, regex_check
*.yaml=has_block_license, eol_at_eof, regex_check
*.yml=has_block_license, eol_at_eof, regex_check
*.css=has_block_license, regex_check
*.tsx=has_block_license, regex_check
*.ts=has_block_license, regex_check
*.less=has_block_license, regex_check
*.css=has_block_license, eol_at_eof, regex_check
*.tsx=has_block_license, eol_at_eof, regex_check
*.ts=has_block_license, eol_at_eof, regex_check
*.less=has_block_license, eol_at_eof, regex_check
*.toml=has_block_license, eol_at_eof, regex_check
*Dockerfile*=has_block_license

# Sanity check files not required to have ASF headers because either they
Expand Down Expand Up @@ -76,15 +77,10 @@ src/e2e/__mocks__/antd-pro-merge-less.js
src/e2e/baseLayout.e2e.js
src/pages/404.tsx
src/service-worker.js
compose/dashboard_conf/nginx.conf
docker/nginx.conf

# The README.md file cannot be found, but it will be detected
dag-to-lua-1.1/README.md

# Skip the "build.sh" file. Because "license" is not at the beginning of the file
api/build.sh


# Exclude Apache standard legal files
CREDITS.txt
DISCLAIMER.txt
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/api_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,3 @@ jobs:
working-directory: ./api
run: |
go test ./...

- name: run Makefile
run: |
make license-check
23 changes: 23 additions & 0 deletions .github/workflows/license_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: LICENSE CI

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:

check-license:

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2

- name: run license check
run: |
make license-check
17 changes: 17 additions & 0 deletions compose/dashboard_conf/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
#
# 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.
#

server {
listen 80;
# gzip config
Expand Down
17 changes: 17 additions & 0 deletions docker/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
#
# 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.
#

server {
listen 80;
# gzip config
Expand Down