Canon GitHub App, OIDC, and rulesets

Install the live App, grant the permissions Start Run needs, and apply rulesets without leaving release in a deadlock.

Last updated September 27, 2026

Which App to install

Two Apps exist:

  • Canon GitHub App — live
  • Canon GitHub App (dev) — development

Install the live App on the bound customer repository. Workflows and export must point at the live App, not a preview backend. A Canon Sync or redeploy of a preview host can reset a workaround that pointed at preview.

Permissions Start Run needs

Start Run dispatches orchestration-pipeline.yml through the App. The start_run operation expects at least:

  • actions: write
  • contents: read
  • issues: write

Canon fails closed if the App is missing, not installed on the repo, or the workflow file is not in the repository.

The host must have CANON_GITHUB_APP_ID and CANON_GITHUB_APP_PRIVATE_KEY. The OIDC broker in production must validate GitHub OIDC claims and mint operation-scoped installation tokens. Without the broker, privileged jobs cannot obtain the tokens the package expects.

Rulesets and release

Export can emit ruleset and environment payloads. Apply them idempotently. A tag-creation ruleset with no bypass actor deadlocks release (v* tags). A missing or bypassed tag ruleset is also unsafe: the release guard checks out the tagged commit and runs .canon/release.mjs with contents: write.

Confirm after apply:

  • required reviewers exist and are not placeholders
  • required status checks match the generated workflows
  • the tag ruleset has an explicit bypass actor you control
  • environments used by Human Review Tasks exist

Copilot CLI policy

Agent stages that call GitHub Copilot CLI fail with Access denied by policy settings when the org has not enabled Copilot and Copilot CLI / coding-agent policy for the workflow actor. The org owner must enable that policy and confirm the seat covers the actor. Canon cannot change GitHub org policy.

Still stuck?Contact support