code-corps / code-corps/code-corps-api

When unlinking installation from organization, delete ProjectGithubRepos

Open
#860 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.