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

Reusable Code for Unassign Inactive Issues #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SukhvirKooner
Copy link

@SukhvirKooner SukhvirKooner commented Nov 21, 2024

Summary

This PR introduces a GitHub Action to automatically unassign users from issues that have been inactive for a specified duration.
Manual verification steps performed:

  1. Tested the action on a test repository by creating an issue, assigning a user, and letting it remain inactive.
  2. Verified that the action successfully unassigned the user after the inactivity threshold was met.
  3. Reviewed the workflow logs to ensure proper execution without errors.

No UI changes are involved in this update.

References

Reviewer guidance

  1. To test these changes, review the .github/workflows/unassign-inactive-issue.yml file for correctness.
  2. Simulate the action in a test repository to verify behavior.
  3. Ensure that the inactivity threshold and other parameters are set correctly and match project requirements.
  4. For Testing purposes inactivityPeriodInMinutes is set to 10 , can be changed in scripts/unassign-inactive-issues.mjs

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