Skip to content

Commit 4f31943

Browse files
committed
add manual trigger for Continuous Release workflow
1 parent 5f508b5 commit 4f31943

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pr-pkg-new.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Publish Approved Pull Requests
22
on:
3+
workflow_dispatch:
34
pull_request_review:
45
types: [submitted]
56

67
jobs:
78
check:
89
# First, trigger a permissions check on the user approving the pull request.
9-
if: github.event.review.state == 'approved'
10+
if: (github.event_name == 'workflow_dispatch' || github.event.review.state == 'approved')
1011
runs-on: ubuntu-latest
1112
outputs:
1213
has-permissions: ${{ steps.checkPermissions.outputs.require-result }}

0 commit comments

Comments
 (0)