# Downgrade GitHub member to outside collaborator

> A Slack request turns a GitHub organization member into an outside collaborator, limited to the repositories they still need.

Source: https://stepwork.com/marketplace/downgrade-github-member-to-outside-collaborator

Automatically convert a GitHub organization member to an outside collaborator from a Slack request with Stepwork. Their access is limited to the repositories you name.

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

## They became a contractor. They kept every repo.

When an employee moves to a contract, they often still need one or two repositories. Removing them entirely stops the work, so their full organization membership stays as it was.

That leaves a contractor with every team and every internal repository a member can reach. Scoping it down by hand means converting the account and checking each repository, and that waits until someone has time.

## They keep the repositories they need, and nothing else

Stepwork converts the member to an outside collaborator and leaves them with only the repositories in the request. The work can continue, and the run records who asked, which repositories were kept, and when membership ended.

- Organization membership and team access end.
- Only the repositories in the request stay.
- A repository that does not exist stops the run.

## From Slack request to scoped access

A manager posts the change in Slack. Stepwork converts the member in your GitHub organization settings and checks their repository access against the request.

1. **Request it in Slack** (Slack): A manager posts the person’s GitHub username and the repositories they still need in the access channel. That message starts the flow, and Stepwork records who asked and when.
2. **Find the member** (GitHub): Stepwork signs in to GitHub and opens the organization’s People page. If no member matches the username, the run stops instead of guessing.
3. **Convert to outside collaborator** (GitHub): Stepwork converts the member to an outside collaborator, the same action an organization owner takes from the People list. Their organization membership and team access end.
4. **Limit access and reply in Slack** (GitHub): Stepwork checks the person’s repository access against the request. Repositories on the list are kept, and any other is removed. Then it posts the result in Slack.

## Scoped down to the list, every time

Stepwork runs the path you recorded in your GitHub organization settings. It converts the member, then compares their repository access with the request. Anything not on the list is removed, whoever asked.

## Questions

**Q: How do I convert a GitHub member to an outside collaborator automatically?**
Post their GitHub username and the repositories they still need in Slack. Stepwork converts them on the People page and leaves them with only those repositories.

**Q: What happens to their team memberships?**
They end. Outside collaborators are not part of teams, so their access comes only from the repositories in the request.

**Q: What if they no longer need any repositories?**
Use a different flow. Removing the member from your GitHub organization ends their access entirely.

---

This is the Markdown version of https://stepwork.com/marketplace/downgrade-github-member-to-outside-collaborator, 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
