Correct license headers (#122)

### Motivation:

To correct the license header changes made as part of #117.

### Modifications:

* Revert license header changes
* License header checks use custom `.license_header_template`

### Result:

Correct license headers.
This commit is contained in:
Rick Newton-Rogers
2025-03-31 15:52:11 +01:00
committed by GitHub
parent 54f18941e5
commit ba92571855
16 changed files with 27 additions and 16 deletions
-2
View File
@@ -8,8 +8,6 @@ jobs:
soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
with:
license_header_check_project_name: "SwiftPrometheus"
unit-tests:
name: Unit tests
+13
View File
@@ -0,0 +1,13 @@
@@===----------------------------------------------------------------------===@@
@@
@@ This source file is part of the SwiftPrometheus open source project
@@
@@ Copyright (c) YEARS SwiftPrometheus project authors
@@ Licensed under Apache License v2.0
@@
@@ See LICENSE.txt for license information
@@ See CONTRIBUTORS.txt for the list of SwiftPrometheus project authors
@@
@@ SPDX-License-Identifier: Apache-2.0
@@
@@===----------------------------------------------------------------------===@@
+1 -1
View File
@@ -3,7 +3,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2018-$§ Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2018-2025 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
+1 -1
View File
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2018-2023 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
+1 -1
View File
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2018-2023 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
+1 -1
View File
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2018-2023 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
+1 -1
View File
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2023 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2023 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
+1 -1
View File
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2023 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2023 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2018-2023 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2018-2023 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
+1 -1
View File
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2018-2023 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
+1 -1
View File
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2018-2023 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
+1 -1
View File
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2018-2023 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2018-2023 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2018-2023 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2018-2023 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
+1 -1
View File
@@ -2,7 +2,7 @@
//
// This source file is part of the SwiftPrometheus open source project
//
// Copyright (c) 2024 Apple Inc. and the SwiftPrometheus project authors
// Copyright (c) 2024 SwiftPrometheus project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information