You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const result = await github.rest.search.issuesAndPullRequests({ q: query });
32
+
const mergedCount = result.data.total_count;
33
+
34
+
let message = '';
35
+
36
+
// If count is 1, this current PR is their very first merged PR!
37
+
if (mergedCount === 1) {
38
+
message = `### 🎉 Congratulations on your first merged Pull Request, @${creator}! \n\nWelcome to the **PipeCD** community! We are absolutely thrilled to have you here. Thank you for taking the time to contribute to the project.\n\nWe hope this is the first of many! 🚀\n\n*(If you haven't already, feel free to join our [Community Slack/Discord](#) to say hi!)*`;
39
+
} else {
40
+
// Returning contributor
41
+
message = `### Awesome work, @${creator}! 🎉\n\nThank you for another great contribution to PipeCD! Your continued support and dedication help make this project better for everyone. 🙌`;
0 commit comments