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
? `@asyncapi/tsc_members We want to inform you that @${maintainer.trim().replace(/^@/, '')} is no longer a maintainer of any repository under AsyncAPI Initiative. It means this maintainer is also no longer a member of TSC.`
200
-
: '';
201
-
return `@${maintainer.trim().replace(/^@/, '')} We wanted to express our gratitude for your contributions as a maintainer of AsyncAPI Initiative. Your efforts have been immensely valuable to us, and we truly appreciate your dedication. Thank you once again, and we wish you all the best in your future endeavors!\n\n${tscNotification}`;
201
+
return `@${maintainer.trim().replace(/^@/, '')} We would like to express our gratitude for your contributions as a maintainer of AsyncAPI Initiative. Your efforts have been immensely valuable to us, and we truly appreciate your dedication. Thank you once again, and we wish you all the best in your future endeavors!\n\n`;
return `@asyncapi/tsc_members We want to inform you that @${tscMember.trim().replace(/^@/, '')} is no longer a member of the TSC. This might be because of various reasons. Might be that @${tscMember.trim().replace(/^@/, '')} is no longer a maintainer of any repository under AsyncAPI Initiative. Might be also that @${tscMember.trim().replace(/^@/, '')} is still a maintainer but cannot commit to support entire organization and wants to focus only on the maintained repository. Might be also that @${tscMember.trim().replace(/^@/, '')} did not participate in voting for a long time and was removed due to inactivity and no communication.`;
186
+
return `@${tscMember.trim().replace(/^@/, '')} We would like to express our gratitude for your contributions as a member of the Technical Steering Committee at the AsyncAPI Initiative. Your efforts have been immensely valuable to us, and we truly appreciate your dedication. Thank you once again, and we wish you all the best in your future endeavors!\n\n`;
Copy file name to clipboardExpand all lines: .github/workflows/vote-notify-helpers/index.js
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -165,6 +165,9 @@ async function sendMailNotification(member, issue, daysSinceStart, slackToken, s
165
165
returnfalse;
166
166
}
167
167
168
+
//logging only type of email value to identify if undefined or string so we know if API responds with data or there are some scopes issues and API returns undefined
169
+
console.debug(`Fetched email from Slack for ${response.data.user.profile.real_name_normalized} and data is: ${typeofresponse.data.user.profile.email}`);
// On manual dispatch, override to 0; on schedule keep 5
106
+
// If workflow_dispatch is used (manual workflow trigger) then we want to set 0 to force notification sending, even if it was just sent or the other day
0 commit comments