Skip to content

Commit 2db5652

Browse files
committed
Move reply instructions to top-level Discussion body
Per-contributor comments now contain only auto-gathered activity and bottleneck signals — no repeated instructions. The Discussion body explains how to reply with Shipped (corrections and additions), Focus, and Bottleneck sections.
1 parent 117efd9 commit 2db5652

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

.github/scripts/create_standup_discussion.py

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -232,25 +232,8 @@ def format_contributor_comment(
232232
for issue in issues_opened:
233233
lines.append(f"- [{issue['title']}]({issue['html_url']})")
234234
else:
235-
lines.append("_No activity found — reply to add yours._")
236-
237-
lines.append("")
238-
lines.append("### Focus")
239-
lines.append("_What are you working on this week? (reply to this thread)_")
240-
lines.append("")
241-
lines.append("### Bottleneck")
242-
lines.append(
243-
"_What is the single biggest bottleneck in progress toward your "
244-
"greater goal? Name your goal. Name the constraint. Name who or "
245-
"what can unblock it._"
246-
)
247-
lines.append("")
248-
lines.append(
249-
'_(There\'s always one. Not just "waiting on review." Example: '
250-
'"Goal: ship mailroom to production. Bottleneck: I need 30 min '
251-
"with @X to align on the ohttp-relay migration plan before I can "
252-
'write the PR.")_'
253-
)
235+
lines.append("_No activity found._")
236+
254237
if bottlenecks:
255238
lines.append("")
256239
lines.append("_Auto-detected signals:_")
@@ -287,8 +270,21 @@ def main():
287270
body = (
288271
"Weekly standup — each contributor has a thread below "
289272
"with auto-gathered activity.\n\n"
290-
"**Please review your thread and reply with your Focus and Bottleneck "
291-
"by end-of-day Monday (your timezone).**"
273+
"**Reply to your thread by end-of-day Monday (your timezone) "
274+
"with the following:**\n\n"
275+
"### Shipped\n"
276+
"Add anything the bot missed — design work, specs, conversations, "
277+
"off-GitHub contributions. Correct any mistakes.\n\n"
278+
"### Focus\n"
279+
"What are you working on this week?\n\n"
280+
"### Bottleneck\n"
281+
"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.")_'
292288
)
293289
discussion_id, discussion_url = create_discussion(title, body, repo_node_id)
294290
print(f"Created discussion: {discussion_url}")

0 commit comments

Comments
 (0)