Skip to content

Add Stale tickets Macro an alternative to Auto Close Stale tickets - #245

Merged
MMK21Hub merged 6 commits into
hackclub:mainfrom
aoishik:stale_macro
Sep 2, 2026
Merged

Add Stale tickets Macro an alternative to Auto Close Stale tickets#245
MMK21Hub merged 6 commits into
hackclub:mainfrom
aoishik:stale_macro

Conversation

@aoishik

@aoishik aoishik commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Add Stale tickets Macro an alternative to Auto Close Stale tickets
This can be used by helpers to provide knowledge to op that the ticket is stale and the helper closed it.

Copilot AI review requested due to automatic review settings July 16, 2026 16:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “stale” reply macro so helpers can close/resole stale tickets with a custom message, as an alternative to the automated stale-ticket close flow.

Changes:

  • Introduces a new transcript-configurable message (stale_tickets_macro) for stale ticket closures.
  • Adds a new Stale macro that uses the transcript message and resolves the ticket.
  • Registers the new macro in the global macro registry.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
nephthys/transcripts/transcript.py Adds a new configurable transcript message for the stale macro.
nephthys/macros/stale.py Implements the Stale ReplyMacro wired to the new transcript field.
nephthys/macros/__init__.py Registers Stale so it can be invoked via the macro runner.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread nephthys/transcripts/transcript.py Outdated
Comment thread nephthys/transcripts/transcript.py Outdated
Comment thread nephthys/transcripts/transcript.py Outdated
Comment thread nephthys/transcripts/transcript.py Outdated
Comment thread nephthys/transcripts/transcript.py Outdated
aoishik and others added 4 commits July 26, 2026 17:33
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Updated stale ticket message for better clarity and user engagement.
@aoishik
aoishik requested a review from MMK21Hub July 26, 2026 12:11

@MMK21Hub MMK21Hub left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works!

Image

(I made one edit to add a space after the ! in the message)

@MMK21Hub
MMK21Hub added this pull request to the merge queue Sep 2, 2026
Merged via the queue into hackclub:main with commit 494f18b Sep 2, 2026
3 checks passed
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.

4 participants