Add Health workflow (#699)

* Add Health workflow

* Remove license check
This commit is contained in:
Moritz 2024-04-15 04:43:26 -07:00 committed by GitHub
parent aece2a4e3f
commit b05fafe77c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 29 additions and 0 deletions

12
.github/workflows/health.yaml vendored Normal file
View File

@ -0,0 +1,12 @@
name: Health
on:
pull_request:
branches: [ master ]
types: [opened, synchronize, reopened, labeled, unlabeled]
jobs:
health:
uses: dart-lang/ecosystem/.github/workflows/health.yaml@9fabe464ea1d8408774de74d2ac759c1f90ae480
with:
checks: "version,changelog,do-not-submit,breaking,coverage,leaking"
permissions:
pull-requests: write

17
.github/workflows/post_summaries.yaml vendored Normal file
View File

@ -0,0 +1,17 @@
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
- Publish
types:
- completed
jobs:
upload:
uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main
permissions:
pull-requests: write