Skip to content

Commit ead90f6

Browse files
authored
Fix round-robin CI script when state issue has no assignees (#1930)
1 parent 2b1e361 commit ead90f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/round-robin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
owner: context.repo.owner,
2525
repo: context.repo.repo
2626
});
27-
return issue.data.assignees[0].login || '';
27+
return (issue.data.assignees && issue.data.assignees[0].login) || '';
2828
- name: Dump last assigned
2929
env:
3030
LAST_ASSIGNED: ${{ steps.assigned.outputs.result }}

0 commit comments

Comments
 (0)