Skip to content

Commit

Permalink
fixed styling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
diyorbekibragimov committed Jul 6, 2024
1 parent 366eb24 commit 7ec1d97
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/TriageClosedIssue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
repo: context.repo.repo,
issue_number: context.issue.number,
});
let prAssignees = [];
timeline.data.forEach(event => {
if (event.event === 'cross-referenced' && event.source && event.source.issue.pull_request) {
Expand All @@ -56,7 +56,7 @@ jobs:
}
}
});
if (issueData.assignees.length != 0) {
const assignees = issueData.assignees.map(assignee => assignee.login);
actualAssignees.concat(assignees);
Expand All @@ -66,13 +66,13 @@ jobs:
} else {
resultString += `Actual assignees: No one :(\n`;
}
if (prAssignees.length > 0) {
resultString += `Pr assignees: ${prAssignees.join(', ')}`;
resultString += `PR assignees: ${prAssignees.join(', ')}`;
} else {
resultString += `Pr assignees: No one :(`;
resultString += `PR assignees: No one :(`;
}
await github.issues.createComment({
issue_number: sandboxIssueNumber,
owner: sandboxOwner,
Expand Down

0 comments on commit 7ec1d97

Please sign in to comment.