Skip to content

Commit db0502a

Browse files
committed
chore: add workflows for health and publishing
1 parent f103ef8 commit db0502a

3 files changed

Lines changed: 43 additions & 0 deletions

File tree

.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+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
types: [opened, synchronize, reopened, labeled, unlabeled]
7+
8+
jobs:
9+
health:
10+
uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
11+
permissions:
12+
pull-requests: write
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Comment on the pull request
2+
3+
on:
4+
workflow_run:
5+
workflows:
6+
- Health
7+
- Publish
8+
types:
9+
- completed
10+
11+
jobs:
12+
upload:
13+
uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main
14+
permissions:
15+
pull-requests: write

.github/workflows/publish.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# A CI configuration to auto-publish pub packages.
2+
name: Publish
3+
4+
on:
5+
pull_request:
6+
branches: [ main ]
7+
types: [opened, synchronize, reopened, labeled, unlabeled]
8+
push:
9+
tags: [ '[0-9A-z]+-v[0-9]+.[0-9]+.[0-9]+' ]
10+
11+
jobs:
12+
publish:
13+
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
14+
permissions:
15+
id-token: write
16+
pull-requests: write

0 commit comments

Comments
 (0)