Skip to content

Commit

Permalink
chore: pkg.pr.new publish by command (#17452)
Browse files Browse the repository at this point in the history
Co-authored-by: patak <[email protected]>
  • Loading branch information
AmirSa12 and patak-dev committed Jun 13, 2024
1 parent d72fdab commit a073ac4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
branches:
- main
- v6/environment-api
pull_request_review:
types: [submitted]
issue_comment:
types: [created]

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

steps:
Expand Down

0 comments on commit a073ac4

Please sign in to comment.