I have used github API for fetching data like pull requests or commits on a pull request by using the personal access token. But now I'm using Github app and have installed it on the repo for which I want to fetch all prs and commits on a pr.
I can see endpoints github apps are allowed to make requests here - https://docs.github.com/en/rest/overview/endpoints-available-for-github-apps
Is there a way to do this with Github apps without using personal access token?