Skip to content

Commit

Permalink
Update self_assign_issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dishamodi0910 committed Oct 1, 2023
1 parent f967a66 commit daaf240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/self_assign_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`);
Expand Down

0 comments on commit daaf240

Please sign in to comment.