Skip to content

Commit b668ca9

Browse files
authoredDec 6, 2023
Add health.yaml workflow (#851)
* Add `health.yaml` workflow * Nits * Remove whitespace * Update args
1 parent adbe779 commit b668ca9

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed
 

‎.github/workflows/health.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Health
2+
on:
3+
pull_request:
4+
branches: [ main ]
5+
types: [opened, synchronize, reopened, labeled, unlabeled]
6+
jobs:
7+
health:
8+
uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
9+
with:
10+
coverage_web: true
11+
checks: "version,changelog,license,coverage,do-not-submit,breaking"
12+
use-flutter: true
13+
permissions:
14+
pull-requests: write

‎.github/workflows/post_summaries.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
# Trigger this workflow after the Health workflow completes. This workflow will have permissions to
55
# do things like create comments on the PR, even if the original workflow couldn't.
66
workflow_run:
7-
workflows:
7+
workflows:
8+
- Health
89
- Publish
910
types:
1011
- completed

0 commit comments

Comments
 (0)
Please sign in to comment.