GitHub Integrations

Nomatron is in early access. Some advanced workflows may not be covered in the public docs.

This file covers nomatron integrations github.

Commands

  • nomatron integrations github list
  • nomatron integrations github create
  • nomatron integrations github read
  • nomatron integrations github update
  • nomatron integrations github delete
  • nomatron integrations github connect
  • nomatron integrations github app-registration-url

When To Use Them

  • Use these commands when linking Nomatron to GitHub Apps and repositories.
  • Use app-registration-url when bootstrapping a new GitHub App installation.
  • Use connect when you need the installation or callback flow for an existing connection.

How To Use Them

List integrations:

bash
nomatron integrations github list --json

Read one integration:

bash
nomatron integrations github read --name gh-main --json

Examples

Create a global GitHub integration:

bash
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-secret

There 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:

bash
nomatron integrations github app-registration-url --name "Nomatron App" --json

Open the connect flow for an org-scoped integration:

bash
nomatron integrations github connect --organization acme --name gh-acme