Skip to content

Commit e9a28c8

Browse files
authored
chore: normalize copyright headers and add workflow to require that they are set (#109)
* chore: add workflow and config to check for copyright headers * chore: remove year from copyright headers and add headers where missing
1 parent 61f9edd commit e9a28c8

26 files changed

+49
-20
lines changed

.github/not-grep.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[prefix]
2+
"**/*.md" = """
3+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
4+
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
5+
"""
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This workflow performs static analysis checks.
2+
name: static analysis
3+
4+
on: ["pull_request", "push"]
5+
6+
jobs:
7+
not-grep:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: not-grep
12+
uses: mattsb42-meta/[email protected]

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
2+
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
3+
14
## Code of Conduct
25
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
36
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
2+
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
3+
14
# Contributing Guidelines
25

36
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
2+
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
3+
14
# AWS Encryption SDK Specification
25

36
## Overview

VERSIONING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
2+
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
3+
14
# Versioning Policy
25

36
We use a three-part X.Y.Z (Major.Minor.Patch) versioning definition, as follows:

client-apis/decrypt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Decrypt

client-apis/encrypt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Encrypt

data-format/message-body-aad.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Message Body AAD

data-format/message-body.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Message Body

data-format/message-footer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Footer Structure

data-format/message-header.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Message Header

data-format/message.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Message

framework/algorithm-suites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Algorithm Suites

framework/caching-cmm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Caching Cryptographic Materials Manager

framework/cmm-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Cryptographic Materials Manager Interface

framework/cryptographic-materials-cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Cryptographic Materials Cache

framework/default-cmm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Default Cryptographic Materials Manager

framework/keyring-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Keyring Interface

framework/kms-keyring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# KMS Keyring

framework/master-key-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Master Key Interface

framework/master-key-provider-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Master Key Provider Interface

framework/multi-keyring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Multi-Keyring

framework/raw-aes-keyring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Raw AES Keyring

framework/raw-rsa-keyring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Raw RSA Keyring

framework/structures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[//]: # (Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.)
1+
[//]: # (Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.)
22
[//]: # (SPDX-License-Identifier: CC-BY-SA-4.0)
33

44
# Structures

0 commit comments

Comments
 (0)