-
Notifications
You must be signed in to change notification settings - Fork 1
GitHub Integration
ewyct edited this page May 4, 2026
·
3 revisions
Lastest integrates deeply with GitHub for authentication, repository sync, and CI/CD.
- OAuth login -- sign in with your GitHub account
- Repository sync -- import repos from GitHub
- PR comments -- automatic build results posted to pull requests
- Webhook-triggered builds -- builds run when PRs are opened or updated
- GitHub Action -- reusable composite action for CI/CD
- Smart Run -- git diff analysis to run only affected tests
- Go to GitHub > Settings > Developer Settings > OAuth Apps
- Create a new OAuth App
- Set the callback URL to
http://your-lastest-url/api/auth/callback/github - Note the Client ID and Client Secret
GITHUB_CLIENT_ID=your-client-id
GITHUB_CLIENT_SECRET=your-client-secret
GITHUB_REDIRECT_URI=http://your-url/api/auth/callback/github # Optional
GITHUB_WEBHOOK_SECRET=your-webhook-secret # Optional: verify webhook signatures- Go to Settings > GitHub
- Click "Connect GitHub"
- Authorize the application
- Select repositories to sync
When webhooks are configured:
- PR opened -- triggers a build for the PR branch
- PR updated (new commits pushed) -- triggers a new build
- Push to monitored branch -- triggers a build
Build results are automatically posted as PR comments.
When a build surfaces a meaningful visual diff, Lastest can open a GitHub issue for it automatically:
- Notification setting (Settings > Notifications) -- enable "Create GitHub issue from visual diff" globally
- Per-diff one-click -- on any diff card, the "Open as GitHub issue" action attaches the screenshot, baseline, side-by-side diff, build URL, and reproducer link to a freshly-filed issue in the linked repo
Cached GitHub issues power both the analytics view and the bug-report linker -- so when an in-app Bug Reports is filed, Lastest can suggest "this looks like issue #142 you already opened".
See CI/CD Integration for the full GitHub Action setup guide.
Lastest Wiki
Getting Started
Core Features
- Visual Diffing
- AI Configuration
- Fix-the-App Advisor
- Agent Monitoring
- Public Shares
- Gamification
- Scheduled Runs
- Bug Reports
- Settings Reference
Integrations
- GitHub Integration
- GitLab Integration
- Google Sheets Integration
- Custom Webhooks
- VSCode Extension API
- MCP Server
Deployment & CI
Administration
Reference