Skip to content

[Intermediate]: Create /unassign bot #1472

@exploreriii

Description

@exploreriii

🧩 Intermediate Contributors

This issue is intended for contributors who already have some familiarity with the
Hiero Python SDK codebase and contribution workflow.

You should feel comfortable:

  • navigating existing source code and examples
  • understanding SDK concepts without step-by-step guidance
  • following the standard PR workflow without additional onboarding

If this is your very first contribution to the project, we recommend starting with a few
Good First Issues before working on this one.

🐞 Problem Description

Unassigning from issues is sometimes necessary and also wanted by users, for example, life got busy or the issue was not a good fit.

We can make this easier and simpler for users by listening to an /unassign command

💡 Expected Solution

Add a github action workflow that listens for /unassign, and it then unassigns the user

🧠 Implementation Notes

For open and assigned issues:

  • if assignee
  • comments /unassign
  • unassign the user

safeguards:

  • in case the user /assign again and /unassign (could happen, let's say the issue went unassigned for a few days, they had time again, and want to try it).... we can add some kind of count that limits how many times they can do this.
    For now, the simplest approach is probably
  • if the user has already requested /unassign
  • any subsequent /unassign comment does nothing (its up to the maintainer to do)

bonus 1
We can adjust the reminder workflows...
are you still working on this issue etc?
each of these can have a comment saying: if you no longer want to work on this, just comment /unassign

bonus 2: if a user does want to unassign from an issue, it can also close any linked PRs. This might be tackled better in a new issue.

bonus 3 (but maybe not worth it): in the gfi and beginner auto assign bot guards, we can check.. if they have already previously required /unassign, any new /assign request is skipped.This might be tackled better in a new issue.

Relevant workflows

Relevant scripts:
.github/scripts/bot-gfi-assign-on-comment.js
.github/scripts/bot-beginner-assign-on-comment.js

.github/scripts/bot-issue-reminder-no-pr.sh
.github/scripts/pr_inactivity_reminder.js

✅ Acceptance Criteria

To merge this issue, the pull request must:

  • Fully address the problem described above
  • Follow existing project conventions and patterns
  • Include tests or example updates where appropriate
  • Pass all CI checks
  • Include a valid changelog entry
  • Use DCO and GPG-signed commits

📚 Additional Context or Resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    intermediaterequires some knowledge of the codebase with some defined steps to implement or examples

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions