Skip to content

Commit 539f769

Browse files
committed
publish extension on adding label 'publish'
1 parent 0ff049d commit 539f769

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/marketplace-publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Publish Extension
22
on:
33
pull_request:
4-
types: [closed]
4+
types: [closed, labeled]
55
workflow_dispatch:
66

77
env:
@@ -16,8 +16,7 @@ jobs:
1616
if: >
1717
( github.event_name == 'pull_request' &&
1818
github.event.pull_request.base.ref == 'main' &&
19-
contains(github.event.pull_request.title, 'Changeset version bump') ) ||
20-
github.event_name == 'workflow_dispatch'
19+
github.event.label.name == 'publish' )
2120
steps:
2221
- uses: actions/checkout@v4
2322
with:

0 commit comments

Comments
 (0)