Admin/Owner access to your company’s GitHub organization. Or owner privileges to an individual repository. Mayil can run on just one repo or an entire organization. Provide access to all the repos you would like Mayil to process.
Note: GitHub is both an issue tracker and a code store. If your team uses GitHub issues, there are some additional steps you need to follow that are highlighted below.
In the upper-right corner of any page on GitHub, click your profile photo.
Navigate to your account settings.
For an app owned by a personal account, click Settings.
For an app owned by an organization:
Click Your organizations and select the organization you want to install Mayil on.
Uncheck the Expire user authorization tokens option
If your team uses GitHub issues,
Activate webhooks and under Webhook URL, enter <deploment>/api/webhook/github/ where deployment is where Mayil’s backend API was deployed (An example would be https://mayil.companyname/api/webhook/github/)
Enter a custom webhook secret
Provide these permissions-
Repository permissions ➤ Codespaces ➤ Read-only
Repository permissions ➤ Contents ➤ Read-only
Repository permissions ➤ Issues ➤ Read and Write (Only If your team uses GitHub issues)
If your team uses GitHub issues, subscribe to these events-
Click Create GitHub app
Upload the Mayil logo sent with the installation package under Display information
Generate a new private key and save it for later steps
Various details generated during the setup process will need to be copied and provided to Mayil’s backend API as configuration details. Update this JSON block with all the procured information-