Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.repository == 'vitejs/vite' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/pkg-pr-new')
runs-on: ubuntu-latest

steps:
Expand Down