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

unassign inactive users #54

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

Conversation

SukhvirKooner
Copy link

Description

This PR implements a GitHub Action to automatically unassign inactive issues based on a predefined period of inactivity. This action will help maintain cleaner issue assignments and prevent outdated issues from cluttering the project.

Issue addressed

learningequality/kolibri#12837
Addresses #PR# HERE

Changelog

  • Description: Added a GitHub Action to unassign users from inactive issues after a specified inactivity period.
  • Products impact: none
  • Addresses: learningequality/kolibri#12837
  • Breaking: no
  • Impacts a11y: no
  • Guidance: This change automates the management of inactive issue assignments. No action is required from consumers as this is an internal GitHub maintenance task.

Steps to test

  1. Ensure the GitHub Action is triggered by inactivity on issues.
  2. Verify that inactive issues have no assignees after the defined period.
  3. Confirm that issues with recent activity are unaffected.
  4. This action will run every 10 min , can be changed in .github/workflows/unassign-inactive.yaml

Implementation notes

At a high level, how did you implement this?

The GitHub Action uses the GitHub API to track the last update time of issues and automatically removes assignees if no updates have been made within the defined inactivity threshold.

Does this introduce any tech-debt items?

No immediate tech-debt; this is a maintenance improvement for issue management.

Testing checklist

  • Contributor has fully tested the PR manually
  • If there are any front-end changes, before/after screenshots are included
  • The change is described in the changelog section above

Reviewer guidance

  • the Code working properly

After review

  • The changelog item has been pasted to the CHANGELOG.md

Comments

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.

3 participants