Skip to content

Commit 629e508

Browse files
committed
Prepare for automated publishing
1 parent 9ab9ba0 commit 629e508

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/post_summaries.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# A CI configuration to write comments on PRs.
2+
3+
name: Comment on the pull request
4+
5+
on:
6+
workflow_run:
7+
workflows:
8+
- Publish
9+
types:
10+
- completed
11+
12+
jobs:
13+
upload:
14+
uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main
15+
permissions:
16+
pull-requests: write

.github/workflows/publish.yaml

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

0 commit comments

Comments
 (0)