codecov / feedback

A place to discuss feedback about the pull request and web product experience.
37 stars 7 forks source link

[API] - Capture GH Branch Rename And Adjust DB #552

Open adrian-codecov opened 1 month ago

adrian-codecov commented 1 month ago

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.