code-corps / code-corps/code-corps-api
When unlinking installation from organization, delete ProjectGithubRepos
Open
Time: 2 hours
- Dominant language
- Elixir
- Stars
- 234
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
# Problem
Unlinking a `GithubAppInstallation` from an `Organization` deletes the related `OrganizationGithubAppInstallation` record.
That, however, currently in no way affects `ProjectGithubRepo` records which may link a `GithubRepo` belonging to the `GithubAppInstallation` with a project belonging to the `Organization.`
We should also delete the related `ProjectGithubRepo` records when the installation is unlinked.
Contributor guide
Assessment
This issue has not been assessed yet.