Skip to content

Commit

Permalink
Add health.yaml workflow (#851)
Browse files Browse the repository at this point in the history
* Add `health.yaml` workflow

* Nits

* Remove whitespace

* Update args
  • Loading branch information
mosuem authored Dec 6, 2023
1 parent adbe779 commit b668ca9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/health.yaml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion .github/workflows/post_summaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b668ca9

Please sign in to comment.