I'm using GitHub App to build an automation that processes requests to provide access to repositories for select users. The App is authenticated using an installation access token which expires after an hour of creation. I'm using org.kohsuke.github-api library. Is there a way to refresh this token ?
I have tried to schedule a job to run the code creating installation access token on an hourly basis. I would like to know if there is any other way to do this?