Skip to content

Commit e7fce25

Browse files
update devprod-status-bot message and cron (#9339)
1 parent a3496bf commit e7fce25

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

packages/devprod-status-bot/src/index.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,12 @@ async function sendUpcomingReleaseMessage(pat: string, webhookUrl: string) {
382382
widgets: [
383383
{
384384
textParagraph: {
385-
text: "There's an upcoming workers-sdk release today. The `main` branch will be locked shortly before to allow the release to be checked. Review the release PR linked below for the full details, and let the ANT team know (by responding in this thread) if for any reason you'd like us to delay this release.",
385+
text:
386+
"A new workers-sdk release is scheduled for tomorrow." +
387+
" The `main` branch will be locked shortly to allow the release to be checked beforehand." +
388+
" Review the release PR linked below for the full details, and let the ANT team know" +
389+
" (by responding in this thread) if for any reason you'd like us to delay this release." +
390+
"\n\nThe `main` branch will be unlocked tomorrow after the release is completed.",
386391
},
387392
},
388393
{
@@ -641,7 +646,7 @@ export default {
641646
if (controller.cron === "0 10 * * MON-FRI") {
642647
await sendStartThreadMessage(env.GITHUB_PAT, env.PROD_WEBHOOK, env.AI);
643648
}
644-
if (controller.cron === "0 10 * * TUE,THU") {
649+
if (controller.cron === "0 17 * * MON,WED") {
645650
await sendUpcomingReleaseMessage(
646651
env.GITHUB_PAT,
647652
env.PROD_WRANGLER_CONTRIBUTORS_WEBHOOK

0 commit comments

Comments
 (0)