GitHub Integrations
Nomatron is in early access. Some advanced workflows may not be covered in the public docs.
On this page
This file covers nomatron integrations github.
Commands
nomatron integrations github listnomatron integrations github createnomatron integrations github readnomatron integrations github updatenomatron integrations github deletenomatron integrations github connectnomatron integrations github app-registration-url
When To Use Them
- Use these commands when linking Nomatron to GitHub Apps and repositories.
- Use
app-registration-urlwhen bootstrapping a new GitHub App installation. - Use
connectwhen you need the installation or callback flow for an existing connection.
How To Use Them
List integrations:
nomatron integrations github list --jsonRead one integration:
nomatron integrations github read --name gh-main --jsonExamples
Create a global GitHub integration:
nomatron integrations github create \
--name gh-main \
--app-id 67890 \
--app-slug nomatron-gh-main \
--client-id Iv1.0123456789abcdef \
--private-key-pem-file ./nomatron-gh-main.private-key.pem \
--webhook-secret-file ./webhook-secretThere is no --installation-id flag in v0.1.7. Supply the private key and webhook secret with the -file or -stdin flags (or $NOMATRON_GITHUB_PRIVATE_KEY_PEM and $NOMATRON_GITHUB_WEBHOOK_SECRET), never as plain flag values. Add --scope organization --organization acme for an organization-scoped connection.
Generate a GitHub App registration URL:
nomatron integrations github app-registration-url --name "Nomatron App" --jsonOpen the connect flow for an org-scoped integration:
nomatron integrations github connect --organization acme --name gh-acme