Github deprecated and api endpoint for auth tokens on apps, I previously
typed apps/ and it should have been app/
This has been tested by running the broken container, verifying that it
did not work, then changing the apps to app and re-deploying - then
invoking a change on github that sent webhooks to my installation. After
the fix it worked, was given the 5k/hr rate limit and correctly added /
removed labels from PRs.
There are also some logging improvements and the wrong error was being used for one of the print statements.
Description
Github deprecated and api endpoint for auth tokens on apps, I previously typed
apps/
and it should have beenapp/
This has been tested by running the broken container, verifying that it did not work, then changing the
apps
toapp
and re-deploying - then invoking a change on github that sent webhooks to my installation. After the fix it worked, was given the 5k/hr rate limit and correctly added / removed labels from PRs.There are also some logging improvements and the wrong error was being used for one of the print statements.
Signed-off-by: Alistair Hey alistair@heyal.co.uk
Motivation and Context
156
How Has This Been Tested?
see commit message and text above
Types of changes
Checklist:
git commit -s