From 06905f13f0646b4c122f2eee2143d518a335cb43 Mon Sep 17 00:00:00 2001 From: Elliott Brooks <21270878+elliette@users.noreply.github.com> Date: Thu, 5 Feb 2026 15:47:41 -0800 Subject: [PATCH 1/4] Health check for packages in the repo --- .github/workflows/health.yaml | 15 +++++++++++++++ .github/workflows/post_summary.yaml | 16 ++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/health.yaml create mode 100644 .github/workflows/post_summary.yaml diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml new file mode 100644 index 00000000000..dbf463d3e2c --- /dev/null +++ b/.github/workflows/health.yaml @@ -0,0 +1,15 @@ +name: Health +on: + pull_request: + branches: [ master ] + types: [opened, synchronize, reopened, labeled, unlabeled] +jobs: + health: + uses: dart-lang/ecosystem/.github/workflows/health.yaml@main + with: + checks: "version,changelog,breaking,do-not-submit,leaking" + fail_on: "version,changelog,do-not-submit" + warn_on: "coverage,breaking,leaking" + use-flutter: true + permissions: + pull-requests: write \ No newline at end of file diff --git a/.github/workflows/post_summary.yaml b/.github/workflows/post_summary.yaml new file mode 100644 index 00000000000..0221906f88d --- /dev/null +++ b/.github/workflows/post_summary.yaml @@ -0,0 +1,16 @@ +name: Comment on the pull request + +on: + # Trigger this workflow after the Health workflow completes. This workflow will have permissions to + # do things like create comments on the PR, even if the original workflow couldn't. + workflow_run: + workflows: + - Health + types: + - completed + +jobs: + upload: + uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main + permissions: + pull-requests: write \ No newline at end of file From 1103fd4cddd9de9dbd7dfdebaa0a8a794552d7f3 Mon Sep 17 00:00:00 2001 From: Elliott Brooks <21270878+elliette@users.noreply.github.com> Date: Thu, 5 Feb 2026 15:48:33 -0800 Subject: [PATCH 2/4] New lines end of file --- .github/workflows/health.yaml | 2 +- .github/workflows/post_summary.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml index dbf463d3e2c..a89ffdb6346 100644 --- a/.github/workflows/health.yaml +++ b/.github/workflows/health.yaml @@ -12,4 +12,4 @@ jobs: warn_on: "coverage,breaking,leaking" use-flutter: true permissions: - pull-requests: write \ No newline at end of file + pull-requests: write diff --git a/.github/workflows/post_summary.yaml b/.github/workflows/post_summary.yaml index 0221906f88d..343f33651dc 100644 --- a/.github/workflows/post_summary.yaml +++ b/.github/workflows/post_summary.yaml @@ -13,4 +13,4 @@ jobs: upload: uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main permissions: - pull-requests: write \ No newline at end of file + pull-requests: write From 1da5e28bef6c7d65614898001c4370420d94d9a3 Mon Sep 17 00:00:00 2001 From: Elliott Brooks <21270878+elliette@users.noreply.github.com> Date: Thu, 5 Feb 2026 15:52:31 -0800 Subject: [PATCH 3/4] Remove reference to coverage --- .github/workflows/health.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml index a89ffdb6346..50c7a69d466 100644 --- a/.github/workflows/health.yaml +++ b/.github/workflows/health.yaml @@ -9,7 +9,7 @@ jobs: with: checks: "version,changelog,breaking,do-not-submit,leaking" fail_on: "version,changelog,do-not-submit" - warn_on: "coverage,breaking,leaking" + warn_on: "breaking,leaking" use-flutter: true permissions: pull-requests: write From a432b68f6292ec20511fd8d33136caf3e91a93eb Mon Sep 17 00:00:00 2001 From: Elliott Brooks <21270878+elliette@users.noreply.github.com> Date: Fri, 6 Feb 2026 10:17:27 -0800 Subject: [PATCH 4/4] Make version and changelog checks warnings not failures --- .github/workflows/health.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml index 50c7a69d466..f3ea46dbb0f 100644 --- a/.github/workflows/health.yaml +++ b/.github/workflows/health.yaml @@ -8,8 +8,8 @@ jobs: uses: dart-lang/ecosystem/.github/workflows/health.yaml@main with: checks: "version,changelog,breaking,do-not-submit,leaking" - fail_on: "version,changelog,do-not-submit" - warn_on: "breaking,leaking" + fail_on: "do-not-submit" + warn_on: "version,changelog,breaking,leaking" use-flutter: true permissions: pull-requests: write