Skip to content

Commit 39de88a

Browse files
committed
Change workflow.
1 parent 0db743a commit 39de88a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/pull-request-comments.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request_target:
66
types: [ 'opened', 'synchronize', 'reopened', 'edited' ]
77
workflow_run:
8-
workflows: [ 'Compares Built Files', 'Test Build Processes' ]
8+
workflows: [ 'Check Built Files (PRs)', 'Test Build Processes' ]
99
types:
1010
- completed
1111

@@ -87,6 +87,7 @@ jobs:
8787
if: >
8888
github.repository == 'WordPress/wordpress-develop' &&
8989
github.event.workflow_run.event == 'pull_request' &&
90+
github.event.workflow_run.name == 'Test Build Processes' &&
9091
github.event.workflow_run.conclusion == 'success'
9192
steps:
9293
- name: Download artifact
@@ -189,6 +190,7 @@ jobs:
189190
pull-requests: write
190191
if: >
191192
github.event.workflow_run.event == 'pull_request' &&
193+
github.event.workflow_run.name == 'Check Built Files (PRs)' &&
192194
github.event.workflow_run.conclusion == 'success'
193195
steps:
194196
- name: Download artifact

0 commit comments

Comments
 (0)