Heroku has announced that its team is working to enable Github connection and item retrieval.
Heroku Github Deployment
Heroku has said that it is working to re-enable deploying apps directly using Github. Specific dates when this will be re-enabled were not provided.
According to a Github statement on the Heroku security issue, on April 12, 2022, an attacker stole Heroku and Travis CI OAuth app tokens and used them to conduct attacks on targeted organizations.
On April 13, 2022, Heroku was notified of the data breach and it revoked all OAuth tokens to prevent unauthorized access to Github repositories. This affects deploying apps on Github, Heroku CLI, ChatOps, creating review apps, Heroku button, and any GitHub integrations
Heroku Github Integration errors
If you had allowed automatic or manual deployment of Heroku apps through Github, then new changes cannot be deployed or you cannot connect to your Github account. You are likely to get these errors “Item could not be retrieved” or “remove could not connect.”
The alternative deployment method is to switch from Github to Heroku Git. Make sure your remote origin is correctly set up or you will get errors when pushing. If you are using an old Macbook and you are asked to update to the latest Xcode, then try installing Xcode_13.2.1.xip.