GitHub Action Reference
[!NOTE] This page is a technical reference. For step-by-step setup instructions, please follow the Single Repo, Centralized, or Distributed guides.The GitHub Action runs Simili Bot in response to issue events.
Overview
The GitHub Action runs Simili Bot in response to issue events. It:- Processes issues when created or updated
- Handles issue comments with bot commands
- Runs in isolated container with necessary permissions
- Posts results back to GitHub
Prerequisites
- GitHub repository with Actions enabled
- Qdrant instance (free tier available)
- Gemini API key
- Repository secrets configured (see Installation)
Workflow Configuration
Basic Setup
Create.github/workflows/simili-bot.yml:
Inputs
| Input | Description | Default | Required |
|---|---|---|---|
command | process or index | process | Yes |
config_path | Path to configuration file | .github/simili.yaml | No |
dry_run | Run without posting to GitHub | false | No |
workflow | Preset workflow name | issue-triage | No |
Triggers
Common GitHub issue event triggers:Advanced Configurations
Include Multiple Triggers
Process on both issues and pull request reviews:Test with Dry-Run Mode
Try Simili Bot without posting to GitHub:Bulk Indexing Workflow
Periodically index all issues:Branch-Specific Workflows
Run different configurations per branch:Permissions
Ensure your workflow has proper permissions:Secrets Management
Adding Secrets
- Go to Settings → Secrets and variables → Actions
- Click New repository secret
- Add secrets from Installation
Using Organization Secrets
For multi-repository setup, use organization secrets:- Go to Organization → Settings → Secrets and variables → Actions
- Create organization-level secrets
- Grant repository access
- Reference in workflows:
${{ secrets.ORG_SECRET_NAME }}
Rotating Secrets
To rotate API keys:- Generate new key in external service
- Update GitHub secret value
- Delete old key from external service
- Next workflow run uses new credentials
Monitoring & Logging
View Workflow Runs
- Go to Actions tab in your repository
- Click Simili Bot workflow
- View recent runs
Check Logs
Click on a workflow run to see:- Step-by-step execution
- Full output logs
- Any errors or warnings
Common Log Patterns
Success:Multi-Repository Setup
Same Configuration Across Repos
Use organization secrets and shared configuration:Different Configuration Per Repo
Each repository can have uniquesimili.yaml:
Performance Optimization
Reduce Workflow Duration
Dry-run for testing:Parallel Processing
For bulk indexing, use matrix strategy:Troubleshooting
Workflow doesn’t trigger
- Check event types in
on:section - Verify workflow file is on
mainbranch - Check Actions are enabled in repository settings
”Configuration not found” error
- Verify
.github/simili.yamlexists on main branch - Check path matches exactly in workflow
- Ensure file has valid YAML syntax
”Permission denied” error
- Check workflow has
issues: writepermission - Verify token is not restricted
- Check repository allows the action
Action times out (>30 min)
- Increase Qdrant query timeout
- Reduce number of similar issues to return
- Use smaller
max_similar_to_showvalue
Secrets not found
- Verify secret names match exactly (case-sensitive)
- Ensure secrets are set at repository level
- Check they’re not only set at organization level