Integrations
GitHub
Search code and view deployments from GitHub
Search code, view commits, and check deployments from GitHub.
What Stalar can do
| Tool | Description |
|---|---|
| List repositories | Get repositories in your organization |
| Search code | Search for code across repositories |
| Get file contents | Read file contents from a repository |
| Get deployments | List deployments for a repository |
| Compare commits | Compare two commits or branches |
| Get commits | List commits for a repository |
| Get latest commit | Get the most recent commit |
Configuration
Required
| Field | Description |
|---|---|
token | GitHub personal access token or app token |
Optional
| Field | Description |
|---|---|
baseUrl | GitHub API URL (for GitHub Enterprise) |
Config file example
integrations:
- name: "github-prod"
type: "github"
environment: "production"
config:
token: "${GITHUB_TOKEN}"
# GitHub Enterprise
- name: "github-enterprise"
type: "github"
environment: "production"
config:
token: "${GHE_TOKEN}"
baseUrl: "https://github.example.com/api/v3"Example queries
- "Search for usages of the PaymentService class"
- "What was deployed to production today?"
- "Show me the latest commit on main"
- "Compare main to the staging branch"