Skip to content

Commit de01192

Browse files
authored
chore: fix gh license wf (amundsen-io#1454)
* chore: fix gh license wf Signed-off-by: feng-tao <[email protected]> * chore: use go 1.16 Signed-off-by: feng-tao <[email protected]> * fix license issue Signed-off-by: feng-tao <[email protected]> * chore: fix FE Signed-off-by: feng-tao <[email protected]> * chore: fix js Signed-off-by: feng-tao <[email protected]> * fix Signed-off-by: feng-tao <[email protected]>
1 parent 3ee9608 commit de01192

File tree

28 files changed

+77
-6
lines changed

28 files changed

+77
-6
lines changed

.github/workflows/license.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,22 @@ name: license
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Set up Golang
18-
uses: actions/setup-go@v2
17+
- name: Set up Go 1.16
18+
uses: actions/setup-go@v1
19+
with:
20+
go-version: 1.16
21+
id: go
1922
- name: Install addlicense
2023
run: |
2124
export PATH=${PATH}:`go env GOPATH`/bin
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Copyright Contributors to the Amundsen project.
2+
# SPDX-License-Identifier: Apache-2.0
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Copyright Contributors to the Amundsen project.
2+
# SPDX-License-Identifier: Apache-2.0

common/amundsen_common/models/badge.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Contributors to the Amundsen project.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import attr
25

36
from marshmallow3_annotations.ext.attrs import AttrsSchema

common/amundsen_common/models/generation_code.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Contributors to the Amundsen project.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
from typing import Optional
25

36
import attr

common/amundsen_common/models/tag.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Contributors to the Amundsen project.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import attr
25

36
from marshmallow3_annotations.ext.attrs import AttrsSchema

common/tests/unit/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Copyright Contributors to the Amundsen project.
2+
# SPDX-License-Identifier: Apache-2.0

common/tests/unit/utils/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Copyright Contributors to the Amundsen project.
2+
# SPDX-License-Identifier: Apache-2.0

databuilder/databuilder/extractor/generic_usage_extractor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Contributors to the Amundsen project.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
"""
25
The Generic Usage Extractor allows you to populate the "Frequent Users" and "Popular Tables" features within
36
Amundsen with the help of the TableColumnUsage class. Because this is a generic usage extractor, you need to create

databuilder/databuilder/extractor/pandas_profiling_column_stats_extractor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Contributors to the Amundsen project.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import json
25
from typing import (
36
Any, Dict, Tuple,

0 commit comments

Comments
 (0)