Skip to content

Commit 3cefbb9

Browse files
committed
fix: allow jhasourav07 to claim issues regardless of original author match
1 parent e0566a8 commit 3cefbb9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/scripts/issue-management/claim-handler.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ async function handleClaim({ github, context }) {
3030

3131
const issueAuthor = context.payload.issue.user.login;
3232

33-
if (commenter.toLowerCase() !== issueAuthor.toLowerCase()) {
33+
const isAuthorJhasourav07 = issueAuthor.toLowerCase() === 'jhasourav07';
34+
35+
if (!isAuthorJhasourav07 && commenter.toLowerCase() !== issueAuthor.toLowerCase()) {
3436
await github.rest.issues.createComment({
3537
owner,
3638
repo,

0 commit comments

Comments
 (0)