GitHub events source
What Plutus imports
Section titled “What Plutus imports”- PR merges
- Releases
- Also emits
github.prs.merged/github.workflow_runs.completedusage metrics, broken out by repo, from the same PR/workflow-run fetches — see Usage Explorer
Connecting
Section titled “Connecting”Method: Personal Access Token
- In GitHub, go to Settings > Developer settings > Personal access tokens. Fine-grained tokens are recommended; classic tokens also work.
- 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.
- For a classic token, select the
reposcope (public_repofor public repositories only) andread:org. Authorize the token for SSO if the organization enforces it. - Copy the token and paste it into the Personal Access Token field in Plutus.
- Click Load repositories to pick from the list, or type
owner/repopairs separated by commas in Repositories to track (for example,acme-inc/api, acme-inc/frontend). - 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.