← Back to stories
Dev

Staying Evergreen: How we automated secure access and repo hygiene in a shared org

Working with outside collaborators can add more work for a repository owner. You need to confirm who still needs access, change permissions as projects evolve, and archive repositories once they’ve served their purpose.

To keep up, repository owners need to track collaborators, deadlines, and follow-ups for each repository. As a project grows, that manual housekeeping becomes harder to keep up with and easier to defer.

We faced this problem in a shared organization where GitHub employees (“Hubbers”) collaborate with customers and partners on product trials and professional services engagements. Our answer was Evergreen, a GitHub App built with native GitHub features. The workflows below exhibit a pattern you can adapt for your own organization.

Evergreen is a GitHub App that automates organization hygiene through two workflows:

Outside collaborator access reviews. Every quarter, each repo’s outside collaborators are reviewed. Keep who you need, and everyone else is removed.

Stale repository detection and archival. Repos with no human activity past a threshold …

You're reading a preview. The full article is published by The GitHub Blog on their website.

Read the full story on The GitHub Blog