From e3630b30217a481af92b8616a716aa0cab6b1da8 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 2 Jan 2025 12:41:34 +0100 Subject: [PATCH] add source headers to CI files --- .github/workflows/dependency-graph.yml | 19 ++++++++++++++++++- .github/workflows/format.yml | 17 +++++++++++++++++ .github/workflows/headers.yml | 17 +++++++++++++++++ .github/workflows/link-validator.yml | 8 ++++++++ .github/workflows/nightly.yml | 8 ++++++++ .github/workflows/publish-1.0-snapshots.yml | 8 ++++++++ .github/workflows/publish-1.1-snapshots.yml | 8 ++++++++ .github/workflows/publish-test-reports.yml | 8 ++++++++ .github/workflows/publish.yml | 17 +++++++++++++++++ .github/workflows/scala-steward.yml | 17 +++++++++++++++++ .github/workflows/validate-and-test.yml | 8 ++++++++ 11 files changed, 134 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dependency-graph.yml b/.github/workflows/dependency-graph.yml index 6d9229573..41a6fe133 100644 --- a/.github/workflows/dependency-graph.yml +++ b/.github/workflows/dependency-graph.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + name: Update Dependency Graph on: push: @@ -12,6 +29,6 @@ jobs: - uses: actions/checkout@v4 - name: Install sbt uses: sbt/setup-sbt@v1 - - uses: scalacenter/sbt-dependency-submission@v2 + - uses: scalacenter/sbt-dependency-submission@v3 with: modules-ignore: pekko-http-tests_3 pekko-http-docs_3 diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index a33699214..979879f8b 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + name: Scalafmt permissions: {} diff --git a/.github/workflows/headers.yml b/.github/workflows/headers.yml index 742da37d3..35dacf9e3 100644 --- a/.github/workflows/headers.yml +++ b/.github/workflows/headers.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + name: Headers on: diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml index 7af9be37b..04407c8e2 100644 --- a/.github/workflows/link-validator.yml +++ b/.github/workflows/link-validator.yml @@ -1,3 +1,11 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# license agreements; and to You under the Apache License, version 2.0: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# This file is part of the Apache Pekko project, which was derived from Akka. +# + name: Link Validator permissions: {} diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index a47574e47..a48240c00 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,3 +1,11 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# license agreements; and to You under the Apache License, version 2.0: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# This file is part of the Apache Pekko project, which was derived from Akka. +# + name: Nightly Builds on: diff --git a/.github/workflows/publish-1.0-snapshots.yml b/.github/workflows/publish-1.0-snapshots.yml index 29d498e0b..681b6b8b9 100644 --- a/.github/workflows/publish-1.0-snapshots.yml +++ b/.github/workflows/publish-1.0-snapshots.yml @@ -1,3 +1,11 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# license agreements; and to You under the Apache License, version 2.0: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# This file is part of the Apache Pekko project, which was derived from Akka. +# + name: Publish nightly 1.0 snapshots on: diff --git a/.github/workflows/publish-1.1-snapshots.yml b/.github/workflows/publish-1.1-snapshots.yml index b832af054..3ddcc47a3 100644 --- a/.github/workflows/publish-1.1-snapshots.yml +++ b/.github/workflows/publish-1.1-snapshots.yml @@ -1,3 +1,11 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# license agreements; and to You under the Apache License, version 2.0: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# This file is part of the Apache Pekko project, which was derived from Akka. +# + name: Publish nightly 1.1 snapshots on: diff --git a/.github/workflows/publish-test-reports.yml b/.github/workflows/publish-test-reports.yml index 55ee44e76..fb30b9559 100644 --- a/.github/workflows/publish-test-reports.yml +++ b/.github/workflows/publish-test-reports.yml @@ -1,3 +1,11 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# license agreements; and to You under the Apache License, version 2.0: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# This file is part of the Apache Pekko project, which was derived from Akka. +# + name: 'Publish Test Reports' on: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3b28a64bb..87852ebe0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + name: Publish nightly snapshots and documentation on: diff --git a/.github/workflows/scala-steward.yml b/.github/workflows/scala-steward.yml index 016479640..2c098192d 100644 --- a/.github/workflows/scala-steward.yml +++ b/.github/workflows/scala-steward.yml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + on: workflow_dispatch: schedule: diff --git a/.github/workflows/validate-and-test.yml b/.github/workflows/validate-and-test.yml index bcd2fcebb..bd2b34a89 100644 --- a/.github/workflows/validate-and-test.yml +++ b/.github/workflows/validate-and-test.yml @@ -1,3 +1,11 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# license agreements; and to You under the Apache License, version 2.0: +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# This file is part of the Apache Pekko project, which was derived from Akka. +# + name: Validate and test on: