From daaf240871817a9faeed1d06618f81bd0c7a3b05 Mon Sep 17 00:00:00 2001 From: Disha Modi <106090499+dishamodi0910@users.noreply.github.com> Date: Sun, 1 Oct 2023 07:39:06 +0530 Subject: [PATCH] Update self_assign_issue.yml --- .github/workflows/self_assign_issue.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/self_assign_issue.yml b/.github/workflows/self_assign_issue.yml index b458904..8302d91 100644 --- a/.github/workflows/self_assign_issue.yml +++ b/.github/workflows/self_assign_issue.yml @@ -17,10 +17,10 @@ jobs: const assignUsing = '/gdsc'; const isCommandPresent = commentbody.includes(assignUsing); const commentor = context.payload.comment.user.login; - const Repoowner = context.payload.repository.owner.login; + const Repoowner = 'dishamodi0910'; console.log(`${Repoowner}`); console.log(`${commentor}`); - const isSelf = commentor === context.payload.repository.owner.login; + const isSelf = commentor === 'dishamodi0910'; console.log(`${isSelf}`); console.log(`${context.payload.issue.assignees.map(assignee => assignee.login)}`);