Skip to content

Commit

Permalink
chore(ci): add pr number to message for loop (#336)
Browse files Browse the repository at this point in the history
Add pr number to daily message pr summary

Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
  • Loading branch information
universal-itengineer authored Sep 3, 2024
1 parent 9361647 commit ad08d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/fetch_prs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async function formatPR(pr) {
reviewersInfo = `Reviewers: ${reviewers.join(', ')}`;
}

return `- [${pr.title}](${pr.html_url}) (Created: ${moment(pr.created_at).fromNow()}) - ${reviewersInfo}`;
return `- pr${pr.number}: [${pr.title}](${pr.html_url}) (Created: ${moment(pr.created_at).fromNow()}) - ${reviewersInfo}`;
}

async function generateSummary(prs) {
Expand Down

0 comments on commit ad08d26

Please sign in to comment.