Background information: I have a small java application (using quarkus/gradle) that simply provides REST API from other services' yaml file. Currently, the yaml files are copied to this repository manually which needs to be automated.
Therefore, I need to access a github repository where the original yaml files exists and copy those yaml files from there into my own repository.
This is what I found out from my research here, but this didn't really help to solve my problem: How to connect to github using Java Program
Anyone idea how this is realizeable/ How the access to another repository can be enabled using github token?
Thanks in advance!