Skip to content

Unassign issue authors and clear stale PR labels after activity - #12120

Merged
Timothee Guerin (timotheeguerin) merged 2 commits into
microsoft:mainfrom
timotheeguerin:fix/needs-info-unassign-author
Oct 7, 2026
Merged

Timothee Guerin (timotheeguerin) merged 2 commits into
microsoft:mainfrom
timotheeguerin:fix/needs-info-unassign-author

Conversation

@timotheeguerin

@timotheeguerin Timothee Guerin (timotheeguerin) commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

When an issue author replies after needs-info, the issue returns to triage but remains assigned to the author: assignTo with an empty user list does not remove assignments. Unassign only the author during that handoff, preserving other assignees.

PRs can also remain marked stale after work resumes. Clear the label on author updates/comments and on reviews or inline review comments from the author or repository maintainers. Routine non-author bot comments do not clear it, and manually applying stale still works. The existing inactivity deadlines are unchanged.

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@azure-sdk-automation

azure-sdk-automation Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@timotheeguerin Timothee Guerin (timotheeguerin) changed the title Unassign issue authors after needs-info responses Unassign issue authors and clear stale PR labels after activity Oct 6, 2026
@timotheeguerin
Timothee Guerin (timotheeguerin) marked this pull request as ready for review October 6, 2026 18:39
Copilot AI balanced review requested due to automatic review settings October 6, 2026 18:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The unsupported unassign action prevents the issue handoff from working correctly.

Review effort: Balanced
Findings: 1 High severity

Open (1)
What changed in this PR

Updates repository automation to reset triage state when contributors resume activity.

Changes:

  • Removes stale PR labels after qualifying author or maintainer activity.
  • Unassigns issue authors when responding to needs-info.
  • Updates the stale notification text.
File Description
.github/​policies/​pr.stale.yml Adds stale-label cleanup responders.
.github/​policies/​issues.needs-info.yml Changes author-unassignment behavior.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/policies/issues.needs-info.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants