diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index b80ee0b6..b5c14cf5 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -24,7 +24,7 @@ jobs: owner: context.repo.owner, repo: context.repo.repo }); - return issue.data.assignees[0].login || ''; + return issue.data.assignees[0]?.login || ''; - name: Dump last assigned env: LAST_ASSIGNED: ${{ steps.assigned.outputs.result }}