diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d90d2a4..b6835a7 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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 diff --git a/.license_header_template b/.license_header_template new file mode 100644 index 0000000..4886e85 --- /dev/null +++ b/.license_header_template @@ -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 +@@ +@@===----------------------------------------------------------------------===@@ diff --git a/Package.swift b/Package.swift index 0140448..6ebb039 100644 --- a/Package.swift +++ b/Package.swift @@ -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 diff --git a/Sources/Prometheus/Counter.swift b/Sources/Prometheus/Counter.swift index 62e5070..6a90a6f 100644 --- a/Sources/Prometheus/Counter.swift +++ b/Sources/Prometheus/Counter.swift @@ -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 diff --git a/Sources/Prometheus/Gauge.swift b/Sources/Prometheus/Gauge.swift index afac963..c74b57c 100644 --- a/Sources/Prometheus/Gauge.swift +++ b/Sources/Prometheus/Gauge.swift @@ -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 diff --git a/Sources/Prometheus/Histogram.swift b/Sources/Prometheus/Histogram.swift index efab461..dabe2a0 100644 --- a/Sources/Prometheus/Histogram.swift +++ b/Sources/Prometheus/Histogram.swift @@ -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 diff --git a/Sources/Prometheus/NIOLock.swift b/Sources/Prometheus/NIOLock.swift index 5242401..3a80b6c 100644 --- a/Sources/Prometheus/NIOLock.swift +++ b/Sources/Prometheus/NIOLock.swift @@ -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 diff --git a/Sources/Prometheus/NIOLockedValueBox.swift b/Sources/Prometheus/NIOLockedValueBox.swift index a31d13a..9dcef47 100644 --- a/Sources/Prometheus/NIOLockedValueBox.swift +++ b/Sources/Prometheus/NIOLockedValueBox.swift @@ -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 diff --git a/Sources/Prometheus/PrometheusCollectorRegistry.swift b/Sources/Prometheus/PrometheusCollectorRegistry.swift index b6b8255..4975ab2 100644 --- a/Sources/Prometheus/PrometheusCollectorRegistry.swift +++ b/Sources/Prometheus/PrometheusCollectorRegistry.swift @@ -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 diff --git a/Sources/Prometheus/PrometheusMetricsFactory.swift b/Sources/Prometheus/PrometheusMetricsFactory.swift index 85fdbaa..deda116 100644 --- a/Sources/Prometheus/PrometheusMetricsFactory.swift +++ b/Sources/Prometheus/PrometheusMetricsFactory.swift @@ -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 diff --git a/Tests/PrometheusTests/CounterTests.swift b/Tests/PrometheusTests/CounterTests.swift index 7b18425..ab78914 100644 --- a/Tests/PrometheusTests/CounterTests.swift +++ b/Tests/PrometheusTests/CounterTests.swift @@ -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 diff --git a/Tests/PrometheusTests/GaugeTests.swift b/Tests/PrometheusTests/GaugeTests.swift index 452ee9c..aef6d0d 100644 --- a/Tests/PrometheusTests/GaugeTests.swift +++ b/Tests/PrometheusTests/GaugeTests.swift @@ -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 diff --git a/Tests/PrometheusTests/HistogramTests.swift b/Tests/PrometheusTests/HistogramTests.swift index 6694156..8c5705a 100644 --- a/Tests/PrometheusTests/HistogramTests.swift +++ b/Tests/PrometheusTests/HistogramTests.swift @@ -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 diff --git a/Tests/PrometheusTests/PrometheusCollectorRegistryTests.swift b/Tests/PrometheusTests/PrometheusCollectorRegistryTests.swift index 7e595fc..c883f81 100644 --- a/Tests/PrometheusTests/PrometheusCollectorRegistryTests.swift +++ b/Tests/PrometheusTests/PrometheusCollectorRegistryTests.swift @@ -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 diff --git a/Tests/PrometheusTests/PrometheusMetricsFactoryTests.swift b/Tests/PrometheusTests/PrometheusMetricsFactoryTests.swift index 61a6495..0966676 100644 --- a/Tests/PrometheusTests/PrometheusMetricsFactoryTests.swift +++ b/Tests/PrometheusTests/PrometheusMetricsFactoryTests.swift @@ -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 diff --git a/Tests/PrometheusTests/ValidNamesTests.swift b/Tests/PrometheusTests/ValidNamesTests.swift index 16ba9a0..ca099e5 100644 --- a/Tests/PrometheusTests/ValidNamesTests.swift +++ b/Tests/PrometheusTests/ValidNamesTests.swift @@ -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