Skip to content

Commit d12a7f8

Browse files
authored
Merge pull request #520 from smithy-lang/headers
Add missing license headers and automation
2 parents d693c36 + f45b619 commit d12a7f8

File tree

27 files changed

+92
-0
lines changed

27 files changed

+92
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: License Header Check
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- develop
7+
push:
8+
branches:
9+
- develop
10+
11+
jobs:
12+
check-license-header:
13+
name: Check License Header
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: apache/skywalking-eyes/header@main
19+
with:
20+
mode: check

.licenserc.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
header:
2+
license:
3+
spdx-id: Apache-2.0
4+
copyright-owner: Amazon.com, Inc. or its affiliates.
5+
content: |
6+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7+
SPDX-License-Identifier: Apache-2.0
8+
9+
paths:
10+
- '**/*.py'
11+
12+
paths-ignore:
13+
- '**/*.md'
14+
- '**/*.java'
15+
- 'LICENSE'
16+
- 'NOTICE'
17+
- '**/smithy_core/rfc3986.py'
18+
19+
language:
20+
Python:
21+
extensions:
22+
- ".py"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
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 Amazon.com, Inc. or its affiliates. All Rights Reserved.
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 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0

packages/aws-sdk-signers/tests/unit/auth/test_sigv4.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
import os
24
import pathlib
35
import re

packages/aws-sdk-signers/tests/unit/test_identity.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
from datetime import UTC, datetime, timedelta
24

35
import pytest

packages/smithy-aws-core/src/smithy_aws_core/aio/protocols.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
from typing import Any, Final
24

35
from smithy_core.codecs import Codec
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
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 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0

0 commit comments

Comments
 (0)