Skip to content

Commit 5a720c0

Browse files
authored
Fix preview deploy trigger (#1965)
1 parent fed892e commit 5a720c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/preview-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types:
66
- completed
77

8-
# pull_request_target needs explicit perms; fork PRs default to read-only.
8+
# workflow_run needs explicit perms for PR comments.
99
permissions:
1010
contents: read
1111
issues: write
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: "ubuntu-22.04"
1717
if: >
1818
github.repository_owner == 'php' &&
19-
github.event.workflow_run.event == 'pull_request_target'
19+
github.event.workflow_run.event == 'pull_request'
2020
2121
steps:
2222
- name: Download PR number

0 commit comments

Comments
 (0)