Our DB doesn't keep in sync with branches that are adjusted in GH. We want to do so, but GH doesn't have a "branch rename" webhook event. There's investigation done about this here https://github.com/codecov/feedback/issues/393. The proposed solution is in this comment,https://github.com/codecov/feedback/issues/393#issuecomment-2378217110, where we detect 2 webhook events that contain a branch name before/after said events. This ticket is to contemplate adding this functionality to this endpoint. Labelling it as Epic as it could take some work but could also be a task.
Our DB doesn't keep in sync with branches that are adjusted in GH. We want to do so, but GH doesn't have a "branch rename" webhook event. There's investigation done about this here https://github.com/codecov/feedback/issues/393. The proposed solution is in this comment,https://github.com/codecov/feedback/issues/393#issuecomment-2378217110, where we detect 2 webhook events that contain a branch name before/after said events. This ticket is to contemplate adding this functionality to this endpoint. Labelling it as Epic as it could take some work but could also be a task.