# Skip PR assignee selection for org-member PRs \(\#52593\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0969363698d61e7a05055d8011b4105e45c8b56d)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0969363698d61e7a05055d8011b4105e45c8b56d

Requested commit: 0969363698d61e7a05055d8011b4105e45c8b56d

Commit: 0969363698d61e7a05055d8011b4105e45c8b56d

Tree: 3d8745053dc90042c95d08ade9a216a4709a4ec9

Author: John D\. Swanson

Committer: GitHub

## Message

```
Skip PR assignee selection for org-member PRs (#52593)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [ ] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes N/A — deploying
[codeowner-coordinator#90](https://github.com/zed-industries/codeowner-coordinator/pull/90)
to zed repo.

## Summary

Pass `ASSIGN_INTERNAL` and `ASSIGN_EXTERNAL` repository variables to the
assign-reviewers workflow. The coordinator script now uses these to
control whether an individual PR assignee is set based on the author's
org membership.

**Defaults:** org members skip assignee (teams self-organize
accountability), external contributors get an assignee (identifies who
should shepherd the PR). Both are togglable from repo Settings →
Variables without code changes.

Side benefit: skips the 30-55 second `poll_for_reviewers` polling loop
for org-member PRs.

## Post-merge manual step

Set repository variables (Settings → Secrets and variables → Actions →
Variables):
- `ASSIGN_INTERNAL` = `false`
- `ASSIGN_EXTERNAL` = `true`

Release Notes:

- N/A
```

## Parents

- [7d3ccce952bfbd0caabb075e6eb87fedc78482c7](https://git.cafe/gitcafe/zed/commit/7d3ccce952bfbd0caabb075e6eb87fedc78482c7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0969363698d61e7a05055d8011b4105e45c8b56d?format=markdown)
