# Remove outside collaborator from GitHub repos

> A Slack request removes an outside collaborator from every repository in your GitHub organization, so external code access ends in one run.

Source: https://stepwork.com/marketplace/remove-outside-collaborator-from-github-repos

Automatically remove an outside collaborator from every repository in your GitHub organization from a Slack request with Stepwork. External code access ends in one run.

**Apps:** GitHub
**Starts with:** Slack request
**Use case:** Access management
**Best for:** IT Administrator, IT Manager
**Applications used:** GitHub, Slack
**Business outcome:** Risk reduction

## The project ended. Their repo access didn’t.

Contractors and agency developers join GitHub as outside collaborators, added one repository at a time. When the work ends, nobody has a full list of where they were added.

So an admin hunts repository by repository, or misses a few. Each one missed is source code an outside person can still read, months after their contract finished.

## Every repository is closed to them in one run

Stepwork removes the outside collaborator from every repository in your organization at once. Nothing is left behind in a repository nobody remembered, and the run records who asked and when access ended.

- Access ends in every repository, not only the ones on a list.
- Organization members are never changed by this flow.
- The run stops if the username is not an outside collaborator.

## From Slack request to no repository access

A teammate posts the collaborator’s GitHub username in Slack. Stepwork removes them from the outside collaborators list in your organization settings.

1. **Request it in Slack** (Slack): A teammate posts the outside collaborator’s GitHub username in the access channel. That message starts the flow, and Stepwork records who asked and when.
2. **Find the collaborator** (GitHub): Stepwork signs in to GitHub and opens the organization’s outside collaborators list. If the username is not there, the run stops instead of guessing.
3. **Remove from all repositories** (GitHub): Stepwork removes the person from every repository in the organization in one action, the option GitHub gives organization owners for outside collaborators.
4. **Confirm and reply in Slack** (GitHub): Stepwork checks that the person no longer appears as an outside collaborator, then posts the result back in Slack.

## No repository left behind

Credentials stay in 1Password. Stepwork signs in to GitHub with a vault reference, removes the collaborator from every repository at once, and confirms they are gone. Nobody has to remember where they were added.

## Questions

**Q: How do I remove an outside collaborator from all GitHub repositories?**
Post their GitHub username in Slack. Stepwork finds them in your organization’s outside collaborators list and removes them from every repository at once.

**Q: What if the person is an organization member, not an outside collaborator?**
The run stops. Members are handled by a separate flow, removing the member from your GitHub organization.

**Q: Does this affect their own GitHub account?**
No. Their account and their own repositories stay theirs. Only access to your organization’s repositories ends.

---

This is the Markdown version of https://stepwork.com/marketplace/remove-outside-collaborator-from-github-repos, built from the same copy as the page. Everything about Stepwork for AI tools: https://stepwork.com/llms.txt. Book a demo: https://calendly.com/shaun-maclellan/1-1-w-shaun-stepwork
