Skip to content

feat: add issue assignee workflow#21003

Merged
scidomino merged 3 commits intogoogle-gemini:mainfrom
kartikangiras:issuerestriction
Mar 4, 2026
Merged

feat: add issue assignee workflow#21003
scidomino merged 3 commits intogoogle-gemini:mainfrom
kartikangiras:issuerestriction

Conversation

@kartikangiras
Copy link
Contributor

@kartikangiras kartikangiras commented Mar 3, 2026

Summary

This PR implements an automated workflow to unassign external contributors from help wanted issues if they have not opened a non-draft PR within 7 days of assignment. This ensures that stalled issues become available to other contributors and keeps the backlog moving. This workflow does not apply to the core maintainers and collaborators.

Details

  1. Weekly scan of all open help wanted issues with assignees
  2. Timeline analysis — reads issue timeline to determine:
    • Exact date assignee was assigned
    • Whether assignee has a non-draft PR
  3. Decision logic:
    • Assigned < 7 days → no action
    • Has linked PR → no action
    • Assigned ≥ 7 days AND no non-draft PR → unassign + post comment
  4. Friendly notification — comment explains reason and how to re-claim

Related Issues

fixes #21002

How to Validate

Pre-Merge Checklist

  • Updated relevant documentation and README (if needed)
  • Added/updated tests (if needed)
  • Noted breaking changes (if any)
  • Validated on required platforms/methods:
    • MacOS
      • npm run
      • npx
      • Docker
      • Podman
      • Seatbelt
    • Windows
      • npm run
      • npx
      • Docker
    • Linux
      • npm run
      • npx
      • Docker

@kartikangiras kartikangiras requested review from a team as code owners March 3, 2026 18:31
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a new automated workflow designed to improve the efficiency of issue management by ensuring help wanted issues remain accessible. It automatically identifies and unassigns contributors who have been inactive for 30 days without a linked pull request, thereby preventing issues from stalling and encouraging faster resolution.

Highlights

  • Automated Inactive Assignee Workflow: Implemented a new GitHub workflow to automatically unassign contributors from help wanted issues if they have not opened a linked pull request within 30 days of assignment.
  • Workflow Logic and Schedule: The workflow runs weekly, scanning open help wanted issues. It determines assignment dates and checks for linked PRs, unassigning contributors who meet the inactivity criteria and posting a friendly notification.
  • Contributor Guidance: Provided clear instructions for contributors on how to engage with the new automation, including opening draft PRs early, re-assigning themselves if mistakenly unassigned, and voluntarily unassigning themselves.
Changelog
  • docs/issue-and-pr-automation.md
    • Added a new section detailing the 'Automatic unassignment of inactive contributors' workflow.
    • Updated the numbering of subsequent sections to accommodate the new entry.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/unassign-inactive-assignees.yml
Activity
  • No human activity has occurred on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new GitHub Actions workflow to automatically unassign inactive contributors from 'help wanted' issues after 30 days, which is a great initiative to keep the issue backlog healthy. The change includes documentation for this new workflow in issue-and-pr-automation.md. The documentation is clear and well-structured, but I've noted one minor point of ambiguity regarding the time threshold that could be clarified to prevent confusion for contributors.

Note: Security Review has been skipped due to the limited scope of the PR.

@gemini-cli gemini-cli bot added area/core Issues related to User Interface, OS Support, Core Functionality help wanted We will accept PRs from all issues marked as "help wanted". Thanks for your support! labels Mar 4, 2026
@kartikangiras
Copy link
Contributor Author

kartikangiras commented Mar 4, 2026

@scidomino PTAL. I opened the issue and simultaneosuly opened a PR because I had a working workflow for this but was not assigned the help wanted tag so was not able to assign myself.

@scidomino
Copy link
Collaborator

Also, you have lint errors. Run the formatter.

@scidomino
Copy link
Collaborator

I think we need to change this to ignore draft PRs. Otherwise it will just encourage users to open no-op draft PRs to avoid getting unassigned. These help-wanted issues should not take more than a week to complete, or at least, even if they do, it should be broken up into multiple PRs such that the first one is ready in a week. Basically, we need to require users have a PR ready to review in a week and if not, we'll unassign them.

@kartikangiras
Copy link
Contributor Author

@scidomino I have updated the workflow to only take non-draft PRs into account while checking the assignments.

@scidomino
Copy link
Collaborator

This is my last comment. Fix it and I will approve.

@scidomino
Copy link
Collaborator

Sorry. Please remove the "so the bot won't remove you again." since it's not true.

Signed-off-by: Kartik Angiras <angiraskartik@gmail.com>
@kartikangiras kartikangiras requested a review from scidomino March 4, 2026 19:05
@scidomino scidomino enabled auto-merge March 4, 2026 19:16
@scidomino scidomino added this pull request to the merge queue Mar 4, 2026
Merged via the queue into google-gemini:main with commit ac4e65d Mar 4, 2026
26 of 27 checks passed
@kartikangiras kartikangiras deleted the issuerestriction branch March 5, 2026 08:01
BryanBradfo pushed a commit to BryanBradfo/gemini-cli that referenced this pull request Mar 5, 2026
Signed-off-by: Kartik Angiras <angiraskartik@gmail.com>
struckoff pushed a commit to struckoff/gemini-cli that referenced this pull request Mar 6, 2026
Signed-off-by: Kartik Angiras <angiraskartik@gmail.com>
kunal-10-cloud pushed a commit to kunal-10-cloud/gemini-cli that referenced this pull request Mar 12, 2026
Signed-off-by: Kartik Angiras <angiraskartik@gmail.com>
liamhelmer pushed a commit to badal-io/gemini-cli that referenced this pull request Mar 12, 2026
Signed-off-by: Kartik Angiras <angiraskartik@gmail.com>
yashodipmore pushed a commit to yashodipmore/geemi-cli that referenced this pull request Mar 21, 2026
Signed-off-by: Kartik Angiras <angiraskartik@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/core Issues related to User Interface, OS Support, Core Functionality help wanted We will accept PRs from all issues marked as "help wanted". Thanks for your support!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatic Unassignment of Inactive Help Wanted Issue Assignees

2 participants