diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml new file mode 100644 index 000000000..21b4ddb15 --- /dev/null +++ b/.github/workflows/health.yaml @@ -0,0 +1,14 @@ +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 + checks: "version,changelog,license,coverage,do-not-submit,breaking" + use-flutter: true + permissions: + pull-requests: write diff --git a/.github/workflows/post_summaries.yaml b/.github/workflows/post_summaries.yaml index a47509258..8697d74a5 100644 --- a/.github/workflows/post_summaries.yaml +++ b/.github/workflows/post_summaries.yaml @@ -4,7 +4,8 @@ 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: + workflows: + - Health - Publish types: - completed