diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d0f8abb5..b04b096d 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -42,7 +42,5 @@ jobs: shell_check_enabled: false # https://github.com/apple/swift-collections/issues/431 format_check_enabled: false - # https://github.com/apple/swift-collections/issues/434 - license_header_check_enabled: false # https://github.com/apple/swift-collections/issues/435 api_breakage_check_enabled: false diff --git a/.license_header_template b/.license_header_template new file mode 100644 index 00000000..a72bed3b --- /dev/null +++ b/.license_header_template @@ -0,0 +1,12 @@ +@@===----------------------------------------------------------------------===@@ +@@ +@@ This source file is part of the Swift Collections open source project +@@ +@@ Copyright (c) YEARS Apple Inc. and the Swift project authors +@@ Licensed under Apache License v2.0 with Runtime Library Exception +@@ +@@ See https://swift.org/LICENSE.txt for license information +@@ +@@ SPDX-License-Identifier: Apache-2.0 WITH Swift-exception +@@ +@@===----------------------------------------------------------------------===@@ diff --git a/.licenseignore b/.licenseignore new file mode 100644 index 00000000..da1784eb --- /dev/null +++ b/.licenseignore @@ -0,0 +1,16 @@ +**/*.md +**/*.png +**/*.rs +**/*.sh +**/*.xcconfig +**/*.xcodeproj/* +**/*.xctestplan +**/*.xcworkspace/* +**/*.yml +**/Package.resolved +.editorconfig +Package.swift +Benchmarks/Package.swift +Package@swift-*.swift +CODEOWNERS +LICENSE.txt