We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fed892e commit 5a720c0Copy full SHA for 5a720c0
1 file changed
.github/workflows/preview-deploy.yml
@@ -5,7 +5,7 @@ on:
5
types:
6
- completed
7
8
-# pull_request_target needs explicit perms; fork PRs default to read-only.
+# workflow_run needs explicit perms for PR comments.
9
permissions:
10
contents: read
11
issues: write
@@ -16,7 +16,7 @@ jobs:
16
runs-on: "ubuntu-22.04"
17
if: >
18
github.repository_owner == 'php' &&
19
- github.event.workflow_run.event == 'pull_request_target'
+ github.event.workflow_run.event == 'pull_request'
20
21
steps:
22
- name: Download PR number
0 commit comments