git clone [email protected]:jeremy-davis-sonarsource/github-app-auth.git
or download the zip from github
Generate a private key from the app settings page, and place the .pem
file to the root of this repository. Rename it private-key.pem
.
yarn
yarn start [github URL] [App ID] [repository name] [branch]
for instance:
yarn start https://github-enterprise.company.com/api/v3 32 owner/repo
- or -
yarn start https://github-enterprise.company.com/api/v3 32 owner/repo main-branch