Skip to content

Commit 1bb15d4

Browse files
committed
Fix issue creation workflow to match working version in machine.py
1 parent 5525697 commit 1bb15d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/create-porting-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
5454
const closingIssues = result.repository.pullRequest.closingIssuesReferences.nodes;
5555
56-
if (closingIssues.every(issue => issue.body?.includes("AUTO-GENERATED-ISSUE"))) {
56+
if (closingIssues.length > 0 && closingIssues.every(issue => issue.body?.includes("AUTO-GENERATED-ISSUE"))) {
5757
return;
5858
}
5959

0 commit comments

Comments
 (0)