Skip to content

Commit

Permalink
Merge pull request #4 from Tigers-X/test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
coolujain committed Jun 28, 2024
2 parents b5a6cbc + 87b5c8e commit e7f68a7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/TriageClosedIssue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
repo: context.repo.repo
});
console.log(issueData);
const commentsUrl = issueData.comments_url;
const { data: commentsData } = await github.request(commentsUrl);
Expand All @@ -39,6 +37,7 @@ jobs:
// Check if there is a closed/merged pull request associated with the issue
// Check if the pull request has been merged
let prAuthors = [];
const timeline = await github.issues.listEventsForTimeline({
owner: context.repo.owner,
Expand Down Expand Up @@ -67,6 +66,8 @@ jobs:
if (prAuthors.length > 0) {
resultString += `PR Authors: ${prAuthors.join(', ')}`;
if (prAuthors.length > 0) {
resultString += `PR Authors: ${prAuthors.join(', ')}\n`;
} else {
resultString += `PR Authors: No one :(`;
}
Expand All @@ -76,8 +77,5 @@ jobs:
owner: sandboxOwner,
repo: sandboxRepo,
body: resultString,
});
body: resultString,
});

0 comments on commit e7f68a7

Please sign in to comment.