Skip to content

Commit b05fafe

Browse files
authored
Add Health workflow (grpc#699)
* Add Health workflow * Remove license check
1 parent aece2a4 commit b05fafe

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/workflows/health.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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@9fabe464ea1d8408774de74d2ac759c1f90ae480
9+
with:
10+
checks: "version,changelog,do-not-submit,breaking,coverage,leaking"
11+
permissions:
12+
pull-requests: write

.github/workflows/post_summaries.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
- Publish
10+
types:
11+
- completed
12+
13+
jobs:
14+
upload:
15+
uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main
16+
permissions:
17+
pull-requests: write

0 commit comments

Comments
 (0)