Skip to content

Commit f1f5351

Browse files
committed
update
1 parent bc40e82 commit f1f5351

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/actions/list-pr/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ runs:
7070
core.info(`prs: ${pr_urls.join("\n")}`);
7171
} else {
7272
core.warning("No PR found");
73-
return null;
7473
}
7574
7675
const result = prs.map(pr => ({

.github/workflows/dispatch-event.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
hours: ${{ github.event.inputs.hours || '24' }}
5858

5959
dispatch-pr:
60-
if: ${{ needs.list-pr.outputs.prs }}
60+
if: ${{ needs.list-pr.outputs.prs != '[]' }}
6161
name: 'Dispatch PR event - #${{ matrix.data.pull_request.number }}'
6262
runs-on: ubuntu-latest
6363
needs:

0 commit comments

Comments
 (0)