integrations / slack

Bring your code to the conversations you care about with the GitHub and Slack integration
https://slack.github.com/
MIT License
3k stars 469 forks source link

Cannot use Github Bot after removing Github account which originally setup the integration #1660

Closed edipiqoni closed 1 year ago

edipiqoni commented 1 year ago

Describe the bug Cannot use the integration after changing my github user which originally added the integration. My collegues seems to be able to use it just fine instead.

To Reproduce Steps to reproduce the behavior: I setup Slack integration using, say X, user in github for my Slack workspace. Then I had to change my github account (now Y), and then the Github bot posted the following on the bot DM:

GitHub APP: Subscription to company/repo has been disabled, because X, who originally set it up, no longer has access. Run /github subscribe company/repo to re-enable the subscription.

Then I go to the website: https://slack.github.com/ I click Add to Slack.

Github APP says: You have successfully installed GitHub app on this workspace!

Then I try to subscribe to repo: /github subscribe company/repo

And the Github APP says: Could not find resource company/repo. Please check to make sure the spelling of the resource was correct and that you have access to the resource in GitHub.

Expected behavior To be able to re-subscribe to repos after my github user was changed.

Screenshots

Desktop (please complete the following information):

edipiqoni commented 1 year ago

Solved by doing /github signin

MateoEstradaOSU commented 5 months ago

@edipiqoni that worked for me thank you!