github-community-projects / private-mirrors

A GitHub App that allows you to contribute upstream using private mirrors of public projects
MIT License
119 stars 12 forks source link

fix: add catch handling for already exists #193

Closed sutterj closed 2 months ago

sutterj commented 2 months ago

Pull Request

Proposed Changes

Readiness Checklist

Author/Contributor

Reviewer

sutterj commented 2 months ago

The alternative to this is letting removing the exists check altogether and letting the error be thrown when the repo fails to create, but doing this exists call first saves a few api calls.