feat(workflow): add workflow to unassign inactive issue assignees#341
Open
Harxhit wants to merge 6 commits into
Open
feat(workflow): add workflow to unassign inactive issue assignees#341Harxhit wants to merge 6 commits into
Harxhit wants to merge 6 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auto-unassign issues without linked PRs
Summary
Adds a scheduled GitHub Actions workflow that automatically checks assigned open issues and unassigns them if no linked pull request is found.
The workflow runs every 5 days and can also be triggered manually using
workflow_dispatch. If an assigned issue does not have a linked open PR, the workflow:This helps keep issue assignments active, prevents stale ownership, and improves repository maintenance.
Type of Change
What Changed
workflow_dispatchsupport for manual executionGITHUB_TOKENWorkflow Configuration
This workflow requires the GitHub token to authenticate API requests:
The token is used for:
How to Test
workflow_dispatchor wait for the scheduled runChecklist
pnpm -r run lintpasses).pnpm -r run typecheck).pnpm -r run test).console.logor debug statements left in the code.Additional Context
The workflow relies on GitHub issue timeline events to identify cross-referenced pull requests. Issues with linked open PRs are preserved, while stale assignments without linked work are automatically cleaned up.