Skip to content

GitHub events source

  • PR merges
  • Releases
  • Also emits github.prs.merged/github.workflow_runs.completed usage metrics, broken out by repo, from the same PR/workflow-run fetches — see Usage Explorer

Method: Personal Access Token

  1. In GitHub, go to Settings > Developer settings > Personal access tokens. Fine-grained tokens are recommended; classic tokens also work.
  2. For a fine-grained token, set Resource owner to the organization or user that owns the repositories, and select the repositories to track. An organization may need to approve the token before it works. Grant read-only access to Pull requests, Contents (releases), Actions (workflow runs) and Metadata.
  3. For a classic token, select the repo scope (public_repo for public repositories only) and read:org. Authorize the token for SSO if the organization enforces it.
  4. Copy the token and paste it into the Personal Access Token field in Plutus.
  5. Click Load repositories to pick from the list, or type owner/repo pairs separated by commas in Repositories to track (for example, acme-inc/api, acme-inc/frontend).
  6. Click Save & connect, then Sync now to pull in PR merges and releases.

This source is separate from the Plutus GitHub App, which you connect on the Integrations page’s Code tab for repository cost mapping and draft pull requests. Connecting one doesn’t connect the other.