CommonRig docsOpen the app

Docs / Workers and automation / GitHub: CI and Issues

GitHub: CI and Issues

Link a repo to a project, and CommonRig can show its CI results on items and its issues beside your bugs. GitHub tells CommonRig something happened; CommonRig reads the answer back.

CI verdicts

only says it happenedci_reportA CI runon GitHubEventsigned by GitHubRead backone repo, read only, thendroppedAn agentread the run itselfVerdict on the itemper commit, says where itcame fromonly says it happenedci_reportA CI runon GitHubEventsigned by GitHubRead backone repo, read only, thendroppedAn agentread the run itselfVerdict on the itemper commit, says where itcame from
Two ways a CI result reaches an item
  • An owner turns CI from GitHub on per linked repo, only for a repo they can push to. A nightly check turns it off if that stops being true.
  • Without it, an agent reports a run it read with ci_report. Every screen says which results came from GitHub and which an agent reported.
  • A cancelled run is never the verdict. A commit passes only once every workflow GitHub lists on it has finished and none was cancelled. A later pass on the default branch covers the commits before it.

Issues, both ways

The Issues page is one table: your bugs beside the GitHub issues of linked repos. An owner turns issues on per repo, on the project's overview.

  • Make a bug from an issue: one issue, one bug, linked.
  • Close, reopen or comment on GitHub from the page, always as your own press. It posts as the CommonRig app.
  • Nothing closes the other side by itself. When the pair is out of step, the page offers the other side's close.
  • Agents read issues as data. No agent tool writes to GitHub.

The GitHub App, and what it may do

Signing in with GitHub and the CommonRig GitHub App are two different things. The app is needed for CI from GitHub, Issues, PR links and your own repo copy. Installing it shows GitHub's own permission page. Where the app is already on the repo, turning something on goes straight to sign-in.

PermissionLevelUsed for
ContentsRead and writeYour own repo copy; reading a setup doc
Checks, statusesReadCI verdicts
IssuesRead and writeThe Issues page; writing only on your press
Pull requestsRead and writePR links and automatic link comments, only after an owner turns them on
MetadataReadRequired by GitHub

Each read uses a token for one repo with only what that read needs, and drops it.

Checked against the code at e28af69c. Site built from f04f4af1.