Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslemammad committed Sep 27, 2024
1 parent fb1eff0 commit e1f2f03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preview-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

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

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
preview:
if: |
${{ github.repository == 'vitejs/vite' && github.event.issue.pull_request && contains(github.event.pull_request.labels.*.name, 'pr: preview') }}
${{ github.repository == 'vitejs/vite' && (github.event_name == 'push' || github.event.issue.pull_request && contains(github.event.pull_request.labels.*.name, 'pr: preview')) }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit e1f2f03

Please sign in to comment.