From 20f3f9ddbf1583e07009cedac1a13213ffa34db6 Mon Sep 17 00:00:00 2001 From: Rich Chiodo Date: Mon, 6 Jan 2025 10:33:26 -0800 Subject: [PATCH] Update issues.yml to make sure assignee is set --- .github/workflows/issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}