Skip to content

Commit c5da0cd

Browse files
authored
Update daily-team-status to use create-issue with automatic cleanup (#94)
1 parent 7c65d81 commit c5da0cd

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

docs/daily-team-status.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ This workflow requires no configuration and works out of the box. You can use lo
4444

4545
## What it creates
4646

47-
- Creates new status report issues
48-
- Updates existing status issues with new information
47+
- Creates new daily status report issues with the `[team-status]` prefix
48+
- Automatically closes older status report issues to prevent clutter
49+
- Labels new issues with `report` and `daily-status` tags
4950
- Requires `issues: write` permission
5051

5152
## Human in the loop

workflows/daily-team-status.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: |
33
This workflow created daily team status reporter creating upbeat activity summaries.
44
Gathers recent repository activity (issues, PRs, discussions, releases, code changes)
5-
and generates engaging GitHub discussions with productivity insights, community
5+
and generates engaging GitHub issues with productivity insights, community
66
highlights, and project recommendations. Uses a positive, encouraging tone with
77
moderate emoji usage to boost team morale.
88
@@ -19,14 +19,15 @@ network: defaults
1919
tools:
2020
github:
2121
safe-outputs:
22-
create-discussion:
22+
create-issue:
2323
title-prefix: "[team-status] "
24-
category: "announcements"
24+
labels: [report, daily-status]
25+
close-older-issues: true
2526
---
2627

2728
# Daily Team Status
2829

29-
Create an upbeat daily status report for the team as a GitHub discussion.
30+
Create an upbeat daily status report for the team as a GitHub issue.
3031

3132
## What to include
3233

@@ -44,4 +45,4 @@ Create an upbeat daily status report for the team as a GitHub discussion.
4445
## Process
4546

4647
1. Gather recent activity from the repository
47-
2. Create a new GitHub discussion with your findings and insights
48+
2. Create a new GitHub issue with your findings and insights

0 commit comments

Comments
 (0)