By linking heroku and github, I set it so that the code pushed to github can be automatically deployed to heroku.
It worked fine for about a month, but the other day suddenly the link between heroku and github was broken, and even if I tried to connect again, it didn't work.
"Automatic deployment of [app name] failed." Is displayed in "Notifications" on the upper right of the heroku management screen, and the explanation that follows is as follows.
======================= An automatic deployment for store-system-k failed. The build failed with the message Unauthorized.
Token from user [my email] was used to interact with GitHub. This account was matched as the GitHub committer.
You can also check that the user who connected the app or pipeline to GitHub still has access to the app and to the Github repository.
In this case, reconnecting to GitHub will often fix the issue.
If you believe that this build failure was not due to an issue in your app, please open a support ticket.
Reconnecting to github often solves the problem, and I've tried it several times, but it doesn't work. If anyone knows the solution, please help me.
There is a possibility that the reconnection method of github is wrong, so I would appreciate it if you could teach me how to do it.