Skip to content

Commit 85f35d4

Browse files
authored
update publishing automation integration (#2002)
1 parent e748045 commit 85f35d4

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configures the .github/workflows/pull_request_label.yml workflow.
22

3-
'infra':
3+
'type-infra':
44
- '.github/**'
55

66
'package:dwds':

.github/workflows/publish.yaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
# A CI configuration to auto-publish pub packages.
22

3-
# name: Publish
3+
name: Publish
44

5-
# on:
6-
# pull_request:
7-
# branches: [ master ]
8-
# push:
9-
# tags: [ '[A-z]+-v[0-9]+.[0-9]+.[0-9]+*' ]
5+
on:
6+
pull_request:
7+
branches: [ master ]
8+
types: [opened, synchronize, reopened, labeled, unlabeled]
9+
push:
10+
tags: [ '[A-z]+-v[0-9]+.[0-9]+.[0-9]+*' ]
1011

11-
# jobs:
12-
# publish:
13-
# if: ${{ github.repository_owner == 'dart-lang' }}
14-
# uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
15-
# with:
16-
# sdk: dev
12+
jobs:
13+
publish:
14+
if: ${{ github.repository_owner == 'dart-lang' }}
15+
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
16+
with:
17+
sdk: dev

0 commit comments

Comments
 (0)