Conversation
Adds a reusable workflow that enforces a maximum of one assignee per issue, removing all but the latest-assigned user when the limit is exceeded. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ecv
approved these changes
Mar 6, 2026
ecv
left a comment
There was a problem hiding this comment.
Yeah this should be a built-in setting honestly.
scotwells
approved these changes
Mar 6, 2026
Contributor
Author
|
Not sure how to test without merging first. |
Contributor
Author
|
Looks like this didn't actually get activated on the |
Contributor
Author
|
Claude activated it for us in 41e9092 and pushed to main before I could intervene. |
Contributor
|
@drewr you didn't configure the workflow to execute when issues were assigned in this repo. You only set it up to be called from an external repo. |
Contributor
Looks like there was a bypass rule set for org admins. Adjusted it to still allow, but require to go through a pull request. |
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.
Summary
enforce-single-assignee.yamlthat removes all but the latest-assigned user when an issue has more than one assigneedocs/enforce-single-assignee/README.mdMotivation
Ownership of an issue is an important part of working as a team. We can use issue assignments to immediately identify who is taking responsibility:
(If an issue needs to be handed off, supply the context in a comment and update the assignee.)
Changes
.github/workflows/enforce-single-assignee.yaml— reusableworkflow_callworkflow; triggered onissues: [assigned]by calling repos; usesgh apito DELETE extra assignees, keeping onlygithub.event.assigneedocs/enforce-single-assignee/README.md— usage, required permissions, behavior table, calling example, troubleshootingUsage
Calling repos opt in with:
Testing