GitHub
xyva.ai integrates with GitHub via Personal Access Tokens, providing repository browsing, pull request management, and Actions workflow visibility.
Personal Access Token Setup
- On GitHub, navigate to Settings > Developer settings > Personal access tokens > Fine-grained tokens.
- Create a token scoped to your target repository with permissions:
| Permission | Access |
|---|---|
| Contents | Read and write |
| Pull requests | Read and write |
| Actions | Read-only |
| Metadata | Read-only |
- In xyva, open Settings > Integrations > GitHub and paste the token.
WARNING
Fine-grained tokens are recommended over classic tokens because they limit access to specific repositories.
Repository Browsing
Once connected, the GitHub panel displays:
- Branches -- list, switch, and compare branches
- Recent commits -- commit log with author, message, and SHA
- File tree -- browse repository contents without cloning locally
INFO
Repository browsing uses the GitHub REST API. Large repositories may take a moment to load the full tree on first access.
Pull Request Management
The PR section lists open pull requests with key metadata:
| Column | Description |
|---|---|
| Title | PR title with draft indicator |
| Author | GitHub username and avatar |
| Status | Review state (approved, changes requested, pending) |
| Checks | Aggregated CI check status |
You can create a new pull request directly from xyva by selecting a source branch, target branch, and entering a title and description.
Actions Workflow Status
xyva polls GitHub Actions and shows workflow run status for the repository:
deploy.yml main success 2m 14s
test-suite.yml main running 0m 48s
lint.yml PR #87 failed 0m 22s- Click a workflow run to view the job breakdown and step logs.
- Re-run failed workflows with one click.
TIP
Enable the Auto-refresh toggle to poll Actions status every 30 seconds so you always see the latest state.
What To Read Next
- Git Overview -- local version control features
- GitLab CI -- GitLab-specific pipeline integration
