Skip to content

Commit fbeff0b

Browse files
committed
Fence the reply template for easy copying
Contributors can now copy the fenced markdown block from the top-level Discussion body directly into their reply.
1 parent 2db5652 commit fbeff0b

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/scripts/create_standup_discussion.py

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -270,21 +270,23 @@ def main():
270270
body = (
271271
"Weekly standup — each contributor has a thread below "
272272
"with auto-gathered activity.\n\n"
273-
"**Reply to your thread by end-of-day Monday (your timezone) "
274-
"with the following:**\n\n"
273+
"**Reply to your thread by end-of-day Monday (your timezone).** "
274+
"Copy the template below and fill it in:\n\n"
275+
"```markdown\n"
275276
"### Shipped\n"
276-
"Add anything the bot missed — design work, specs, conversations, "
277-
"off-GitHub contributions. Correct any mistakes.\n\n"
277+
"<!-- Add anything the bot missed: design work, specs, "
278+
"conversations, off-GitHub contributions. Correct any mistakes. "
279+
"Skip if the bot covered everything. -->\n"
280+
"\n"
278281
"### Focus\n"
279-
"What are you working on this week?\n\n"
282+
"What are you working on this week?\n"
283+
"\n"
280284
"### Bottleneck\n"
281285
"What is the single biggest bottleneck in progress toward your "
282-
"greater goal? Name your goal. Name the constraint. Name who or "
283-
"what can unblock it.\n\n"
284-
'_(There\'s always one. Not just "waiting on review." Example: '
285-
'"Goal: ship mailroom to production. Bottleneck: I need 30 min '
286-
"with @X to align on the ohttp-relay migration plan before I can "
287-
'write the PR.")_'
286+
"greater goal?\n"
287+
"Name your goal. Name the constraint. Name who or what can "
288+
"unblock it.\n"
289+
"```"
288290
)
289291
discussion_id, discussion_url = create_discussion(title, body, repo_node_id)
290292
print(f"Created discussion: {discussion_url}")

0 commit comments

Comments
 (0)