The Driftless GitHub App connects your repositories to your workspace. Once installed, it observes pull requests and pushes, surfaces context on PRs, and tracks drift when files change.Documentation Index
Fetch the complete documentation index at: https://docs.driftless.icu/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Install from the dashboard:Select repositories
Choose the account or organization, then select specific repositories. You can expand access later from the same settings page.
What the app does
PR observation
Onpull_request.opened, synchronize, reopened, and ready_for_review events:
- Fetches the list of changed files via the GitHub API (using a short-lived installation token)
- Matches each file against all workspace topic patterns
- Posts a sticky comment listing matched topics with their “what” summary and links to the dashboard
Push staleness
Onpush events to tracked branches (default branch plus any custom branches):
- Matches changed files against topics
- Marks matching topics as stale with a reason (e.g., “3 files changed in commit abc1234”)
Installation tracking
The installation ID is linked to your workspace automatically during setup by matching the GitHub organization name or existing connected repos.PR comment format
<!-- driftless-context -->) lets Driftless find and update the comment on subsequent pushes.
Permissions
| Permission | Level | Reason |
|---|---|---|
| Contents | Read | Fetch changed files in PRs and pushes |
| Pull requests | Read & write | Post and update context comments |
| Issues | Read & write | PR comments use the Issues API |
| Metadata | Read | Required by GitHub for all apps |
Deactivation
Remove the integration from Settings > GitHub Integration, or uninstall the app directly on GitHub. Theinstallation/deleted webhook automatically deactivates the integration in your workspace.
The CLI works without the GitHub App. PR comments and push-driven staleness require the app to be installed.