Skip to content

Auto-create next Monthly Roundup issue on close#462

Merged
bph merged 4 commits intoWordPress:trunkfrom
bph:auto-create-roundup-issue
Mar 26, 2026
Merged

Auto-create next Monthly Roundup issue on close#462
bph merged 4 commits intoWordPress:trunkfrom
bph:auto-create-roundup-issue

Conversation

@bph
Copy link
Copy Markdown
Collaborator

@bph bph commented Mar 26, 2026

Summary

  • When a "Monthly Roundup" issue is closed, automatically creates the next month's issue
  • Applies the "Monthly Roundup" label, which triggers the existing label-notifier workflow
  • Includes a dedup check to avoid creating a duplicate if one already exists
  • Google Doc link and author are left as placeholders to be filled in manually
  • Posts a comment pinging @justintadlock and @bph to update the Google Doc and assign an author

Rules

The workflow only triggers when all of these conditions are met:

  • The closed issue has the Monthly Roundup label
  • A human (not a bot) closed the issue
  • The issue was closed as completed (not "not planned")

How it works

  1. Human closes a "Monthly Roundup" issue as completed
  2. Workflow calculates next month/year from the current date
  3. Creates a new issue titled "What's new for developers? (Month Year)"
  4. Applies the label → triggers the existing notifier → pings the team
  5. Posts a follow-up comment notifying @justintadlock and @bph to update the Google Doc and assign an author

Test plan

  • Close a Monthly Roundup issue and verify the next one is created
  • Verify the label is applied and the notifier fires
  • Verify the editor notification comment is posted
  • Verify dedup: closing again doesn't create a duplicate
  • Verify "not planned" closures do not trigger the workflow

@bph
Copy link
Copy Markdown
Collaborator Author

bph commented Mar 26, 2026

I tested it on my fork and it all worked out.

  • Issue created: "What's new for developers? (April 2026)" with the template body
  • Label applied: Monthly Roundup
  • Notification comment posted: pinged Justin and Birgit to update the Google Doc and author
Screenshot 2026-03-26 at 17 36 20

@bph bph merged commit 9b7f21d into WordPress:trunk Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant