To create a GitHub app, follow the instructions provided by GitHub:
App ID provided after registration.Generate a private key. Download and securely store this key.After generating your private key, you need to store it securely. If you are using Kubernetes, you can store it as a secret:
kubectl create secret generic github-app-pem --from-file=key=path/to/your/private-key.pem
Configure the necessary permissions for your GitHub app depending on what actions it needs to perform:
Install the GitHub app on your repository or organization to start using it:
After installation, you need to get the installation ID to authenticate API requests:
{% include 'generator-github.yaml' %}
{% include 'generator-github-example.yaml' %}
{% include 'generator-github-example-basicauth.yaml' %}