Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automation to unassign author from stale issues #7231

Closed
nihal467 opened this issue Feb 19, 2024 · 7 comments
Closed

Add automation to unassign author from stale issues #7231

nihal467 opened this issue Feb 19, 2024 · 7 comments
Labels

Comments

@nihal467
Copy link
Member

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@thedevildude
Copy link
Contributor

thedevildude commented Mar 27, 2024

@nihal467 I found this workflow which can be used with our existing stale workflow to solve this issue. Do take a look at it. https://github.com/BoundfoxStudios/action-unassign-contributor-after-days-of-inactivity

Other approach I could think of was writing manual CLI commands to unassign issues.

@rithviknishad
Copy link
Member

@thedevildude we already have the stale bot right? It supports output of the list of issues/prs marked as stale / closed due to inactivity (ref: https://github.com/actions/stale?tab=readme-ov-file#list-of-output-options).

Maybe we could use this output and do the necessary unassign based on the output from this itself?

@thedevildude
Copy link
Contributor

@rithviknishad We can store the output from the stale bot and then use github-scripts actions to run a script that loops on the output and calls github.issues.removeAssignees()?

@rithviknishad
Copy link
Member

yeah

@rithviknishad
Copy link
Member

Add a comment too tagging the assignees why there were unassigned too.

@thedevildude
Copy link
Contributor

@rithviknishad Got it, I'd like to work on if it's unblocked

@nihal467
Copy link
Member Author

nihal467 commented Sep 6, 2024

existing workflow looks good, upon re-evaluating, will be creating a new issue for better management, if required

@nihal467 nihal467 closed this as completed Sep 6, 2024
@github-project-automation github-project-automation bot moved this from Triage to Done in Care Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

3 participants