Skip to content

Commit 7bce793

Browse files
authored
Add CI health checks for DevTools packages (#9653)
1 parent 959f9f4 commit 7bce793

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/health.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Health
2+
on:
3+
pull_request:
4+
branches: [ master ]
5+
types: [opened, synchronize, reopened, labeled, unlabeled]
6+
jobs:
7+
health:
8+
uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
9+
with:
10+
checks: "version,changelog,breaking,do-not-submit,leaking"
11+
fail_on: "do-not-submit"
12+
warn_on: "version,changelog,breaking,leaking"
13+
use-flutter: true
14+
permissions:
15+
pull-requests: write
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Comment on the pull request
2+
3+
on:
4+
# Trigger this workflow after the Health workflow completes. This workflow will have permissions to
5+
# do things like create comments on the PR, even if the original workflow couldn't.
6+
workflow_run:
7+
workflows:
8+
- Health
9+
types:
10+
- completed
11+
12+
jobs:
13+
upload:
14+
uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main
15+
permissions:
16+
pull-requests: write

0 commit comments

Comments
 (0)