Skip to content

Add Assign Issue workflow#10408

Merged
SoftFever merged 1 commit into
OrcaSlicer:mainfrom
coryrc:allowSelfAssign
Aug 26, 2025
Merged

Add Assign Issue workflow#10408
SoftFever merged 1 commit into
OrcaSlicer:mainfrom
coryrc:allowSelfAssign

Conversation

@coryrc

@coryrc coryrc commented Aug 14, 2025

Copy link
Copy Markdown
Contributor

Allow users to assign issues to themselves.

I don't know if its comments (i.e. unassigning) affects orca bot's inactivity and stale. Probably. I didn't see a way for actions/stale to exempt particular comments. This is set for 30 days and stale for 90 days, so if people are using this the stale timing can jump up to 120 days.

Fixes #10406

@coryrc

coryrc commented Aug 14, 2025

Copy link
Copy Markdown
Contributor Author

Tested: coryrc#4

Allow users to assign issues to themselves.

I don't know if its comments (i.e. unassigning) affects orca bot's
inactivity and stale. Probably. I didn't see a way for actions/stale
to exempt particular comments. This is set for 30 days and stale for
90 days, so if people are using this the stale timing can jump up to
120 days.
@SoftFever

Copy link
Copy Markdown
Collaborator

@coryrc
Could you please explain exactly what this workflow does? Does it automatically assign the issue to its creator?

@coryrc

coryrc commented Aug 24, 2025

Copy link
Copy Markdown
Contributor Author

Right now, only you and noisyfox can assign Issues. This allows people to "volunteer" to fix an Issue by asking the bot to assign it to themself.

@SoftFever

Copy link
Copy Markdown
Collaborator

I see. That's a great idea. Thank you.

@SoftFever SoftFever requested a review from Copilot August 26, 2025 14:20

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

This PR adds a GitHub Actions workflow to allow users to assign issues to themselves and automatically manage stale assignments. The workflow includes automated unassignment after 30 days of inactivity and reminders after 7 days.

  • Adds automated issue assignment workflow with comment-based triggers
  • Implements automatic unassignment after 30 days of inactivity
  • Configures reminders and assignment limits for maintainers

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


on:
schedule:
- cron: 0 0 * * *

Copilot AI Aug 26, 2025

Copy link

Choose a reason for hiding this comment

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

[nitpick] Running this workflow daily at midnight UTC may be unnecessary for issue assignment management. Consider reducing the frequency to weekly (e.g., '0 0 * * 0') to reduce resource usage while still maintaining reasonable cleanup of stale assignments.

Suggested change
- cron: 0 0 * * *
- cron: 0 0 * * 0

Copilot uses AI. Check for mistakes.
@SoftFever SoftFever merged commit ca46e06 into OrcaSlicer:main Aug 26, 2025
@ianalexis

ianalexis commented Aug 26, 2025

Copy link
Copy Markdown
Collaborator

@SoftFever @coryrc Could the bot add a tag when the assignee marks an issue as ready to close but the reporter hasn’t?
That way @SoftFever and @Noisyfox can quickly spot issues to close, including solved but abandoned ones or cases caused by user error.

Or even this tag could be used to close the issue if X time pass before it's assigned and the reporter doesnt comment.

@coryrc

coryrc commented Aug 26, 2025

Copy link
Copy Markdown
Contributor Author

There's already a stale bot, so I didn't think it worth it. This script only does assignees though, so it would have to be another.

@coryrc

coryrc commented Aug 26, 2025

Copy link
Copy Markdown
Contributor Author

I have been thinking a voting bot would be nice (i.e. +3 people vote "No repro") to keep the drama down if one person thinks something is bad and the other doesn't. But I also think it can only work with comments and that would create a bunch of noise which would be worse than the status quo.

Though maybe a bot which allows deputizing a bunch of people to add/remove tags would be helpful, but you still run risk of community management, but to a lower degree.

@coryrc coryrc deleted the allowSelfAssign branch September 14, 2025 16:07
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.

Add ability to assign issues to ourselves

4 participants