We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f508b5 commit 4f31943Copy full SHA for 4f31943
.github/workflows/pr-pkg-new.yml
@@ -1,12 +1,13 @@
1
name: Publish Approved Pull Requests
2
on:
3
+ workflow_dispatch:
4
pull_request_review:
5
types: [submitted]
6
7
jobs:
8
check:
9
# First, trigger a permissions check on the user approving the pull request.
- if: github.event.review.state == 'approved'
10
+ if: (github.event_name == 'workflow_dispatch' || github.event.review.state == 'approved')
11
runs-on: ubuntu-latest
12
outputs:
13
has-permissions: ${{ steps.checkPermissions.outputs.require-result }}
0 commit comments