Skip to content

Commit a073ac4

Browse files
AmirSa12patak-dev
andauthored
chore: pkg.pr.new publish by command (#17452)
Co-authored-by: patak <[email protected]>
1 parent d72fdab commit a073ac4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish-commit.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ on:
99
branches:
1010
- main
1111
- v6/environment-api
12-
pull_request_review:
13-
types: [submitted]
12+
issue_comment:
13+
types: [created]
1414

1515
jobs:
1616
build:
17-
if: github.event_name == 'push' || github.event.review.state == 'APPROVED'
17+
if: github.repository == 'vitejs/vite' && (github.event_name == 'push' || github.event.issue.pull_request && startsWith(github.event.comment.body, '/pkg-pr-new'))
1818
runs-on: ubuntu-latest
1919

2020
steps:

0 commit comments

Comments
 (0)