Skip to content

Commit cfc18ee

Browse files
authored
add health check job (#2266)
This should cut down on the number of comments we need to leave regarding changelog updates etc.
1 parent f3984a7 commit cfc18ee

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/health.yaml

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

0 commit comments

Comments
 (0)