This topic was automatically generated from Slack. You can find the original thread here.
Thank you for giving us the ability to delete old branches in the GitHub integration!
This topic was automatically generated from Slack. You can find the original thread here.
Thank you for giving us the ability to delete old branches in the GitHub integration!
Although it looks like a few of them just won’t delete, but I’m not sure why. The HTTP requests/responses seem valid, but they stay there, even after a page refresh. :man-shrugging:
The request looks like this (just like the others):
curl 'https://api.pipedream.com/graphql' \
--data-raw $'{"query":"mutation repoBranchDelete($repoId: String\u0021, $branch: String\u0021, $messageConfirmation: String\u0021) {\\n repoBranchDelete(\\n repoId: $repoId\\n branch: $branch\\n messageConfirmation: $messageConfirmation\\n ) {\\n errors\\n __typename\\n }\\n}","operationName":"repoBranchDelete","variables":{"repoId":"repo_Q5ET7K","branch":"trigger-signups-test","messageConfirmation":"trigger-signups-test"}}'
thanks for flagging! Do you have any unsaved changes in that branch?
Yes!
And when I remove the changes (and sync with production), the branch can successfully be deleted!
It’s a bit of a hassle, but at least the commit diff shows us what to revert.
Awesome! Thanks for testing. Agree, we should probably surface a message in the UI or have a confirm button
For a few remaining branches, we can’t easily revert the changes… so we’ll wait to that feature