Updating GitHub App permissions without stopping incoming webhooks

Is there a way we can update app permissions without stopping incoming webhooks? A more concrete workflow: When we update the GitHub App permissions, GitHub keeps sending us webhooks (according to the older settings) until users accept the new permissions – when GitHub starts sending webhooks according to the new ones.

Our use case is that we are trying to expand the scope of what our platform (https://deepsource.io) can do, and we need additional permissions for the same. But, at the moment, if we change the permissions for our app, GitHub stops all webhooks until users update their permissions. This is especially problematic for us, because as a CI+CQ platform, our users wouldn’t be able to proceed without our checks. Additionally, our Databases would go out of sync without user inputs.

Sincerely,
Rahul

1 Like