From 6cd161f1047de37812b9229c11cfedb0e5c7b7de Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 13 Aug 2024 14:44:35 +0200 Subject: [PATCH 1/3] Add health workflow --- .github/workflows/health.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/health.yaml diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml new file mode 100644 index 0000000000..7e1409be86 --- /dev/null +++ b/.github/workflows/health.yaml @@ -0,0 +1,19 @@ +name: Health +on: + pull_request: + branches: [ main ] + types: [opened, synchronize, reopened, labeled, unlabeled] + +jobs: + health: + uses: dart-lang/ecosystem/.github/workflows/health.yaml@main + with: + coverage_web: true + checkout_submodules: true + experiments: native-assets + sdk: dev + ignore_license: "**.g.dart,pkgs/intl_translation/example/lib/generated/**,pkgs/intl_translation/test/generate_localized/**,pkgs/intl_translation/test/two_components/**" + ignore_coverage: "**.g.dart" + ignore_packages: "submodules" + permissions: + pull-requests: write From 3cf0f95413493289221aa083114a1b09c04bc52f Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 13 Aug 2024 14:47:51 +0200 Subject: [PATCH 2/3] Fix missing license --- .github/workflows/health.yaml | 8 -------- .github/workflows/post_summaries.yaml | 1 + pkgs/unified_analytics/CHANGELOG.md | 1 + pkgs/unified_analytics/lib/testing.dart | 4 ++++ 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml index 7e1409be86..4bbc8f3d3c 100644 --- a/.github/workflows/health.yaml +++ b/.github/workflows/health.yaml @@ -7,13 +7,5 @@ on: jobs: health: uses: dart-lang/ecosystem/.github/workflows/health.yaml@main - with: - coverage_web: true - checkout_submodules: true - experiments: native-assets - sdk: dev - ignore_license: "**.g.dart,pkgs/intl_translation/example/lib/generated/**,pkgs/intl_translation/test/generate_localized/**,pkgs/intl_translation/test/two_components/**" - ignore_coverage: "**.g.dart" - ignore_packages: "submodules" permissions: pull-requests: write diff --git a/.github/workflows/post_summaries.yaml b/.github/workflows/post_summaries.yaml index a47509258e..f5c8be811f 100644 --- a/.github/workflows/post_summaries.yaml +++ b/.github/workflows/post_summaries.yaml @@ -6,6 +6,7 @@ on: workflow_run: workflows: - Publish + - Health types: - completed diff --git a/pkgs/unified_analytics/CHANGELOG.md b/pkgs/unified_analytics/CHANGELOG.md index 0a53660bf3..15af57a27b 100644 --- a/pkgs/unified_analytics/CHANGELOG.md +++ b/pkgs/unified_analytics/CHANGELOG.md @@ -1,6 +1,7 @@ ## 6.1.3-wip - Require Dart 3.4. +- Add license header. ## 6.1.2 diff --git a/pkgs/unified_analytics/lib/testing.dart b/pkgs/unified_analytics/lib/testing.dart index f6194bfb66..900212f25d 100644 --- a/pkgs/unified_analytics/lib/testing.dart +++ b/pkgs/unified_analytics/lib/testing.dart @@ -1 +1,5 @@ +// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + export 'src/enums.dart'; From 1576daaf1a1916fae9ea78291d92cf4a04ef5d88 Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 13 Aug 2024 17:06:30 +0200 Subject: [PATCH 3/3] Update pkgs/unified_analytics/CHANGELOG.md Co-authored-by: Kevin Moore --- pkgs/unified_analytics/CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/unified_analytics/CHANGELOG.md b/pkgs/unified_analytics/CHANGELOG.md index 15af57a27b..0a53660bf3 100644 --- a/pkgs/unified_analytics/CHANGELOG.md +++ b/pkgs/unified_analytics/CHANGELOG.md @@ -1,7 +1,6 @@ ## 6.1.3-wip - Require Dart 3.4. -- Add license header. ## 6.1.2