Unverified Commit f931f586 authored by Tao Feng's avatar Tao Feng Committed by GitHub

chore: add license check action (#355)

Signed-off-by: 's avatarTao Feng <fengtao04@gmail.com>
parent c5956803
name: license
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Golang
uses: actions/setup-go@v2
- name: Install addlicense
run: |
export PATH=${PATH}:`go env GOPATH`/bin
go get -v -u github.com/google/addlicense
- name: Check license
run: |
export PATH=${PATH}:`go env GOPATH`/bin
addlicense -check -l mit -c "Amundsen" $(find $PWD -type f -name '*.py')
\ No newline at end of file
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
API_VERSION = 'api_version' API_VERSION = 'api_version'
API_BASE_URL = 'api_base_url' API_BASE_URL = 'api_base_url'
TABLEAU_BASE_URL = 'tableau_base_url' TABLEAU_BASE_URL = 'tableau_base_url'
......
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
import logging import logging
from typing import Any, Dict, Iterator, List from typing import Any, Dict, Iterator, List
......
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
import logging import logging
from typing import Any, Dict, Iterator, List from typing import Any, Dict, Iterator, List
......
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
import logging import logging
from typing import Any, Dict, Iterator from typing import Any, Dict, Iterator
......
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
import logging import logging
from typing import Any, Dict, Iterator from typing import Any, Dict, Iterator
......
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
import json import json
import requests import requests
import re import re
......
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
import logging import logging
from typing import Any, Dict, Iterator from typing import Any, Dict, Iterator
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment