Skip to content

Commit ea4b4ce

Browse files
committed
ci(preview): Fix if condition to allow workflow_dispatch event
1 parent 5a2ef22 commit ea4b4ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cr_preview.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: pkg.pr.new
1717
runs-on: macos-latest
1818
timeout-minutes: 5
19-
if: github.event_name == 'pull_request'
19+
if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
2020
steps:
2121
# https://github.com/actions/checkout
2222
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)