Skip to main content

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

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

  1. Go to SettingsSecrets and variablesActions
  2. Click New repository secret
  3. Add secrets from Installation

Using organization secrets

For multi-repository setup, use organization secrets:
  1. Go to OrganizationSettingsSecrets and variablesActions
  2. Create organization-level secrets
  3. Grant repository access
  4. Reference in workflows: ${{ secrets.ORG_SECRET_NAME }}

Rotating secrets

To rotate API keys:
  1. Generate new key in external service
  2. Update GitHub secret value
  3. Delete old key from external service
  4. Next workflow run uses new credentials

Monitoring & logging

View workflow runs

  1. Go to Actions tab in your repository
  2. Click Simili Bot workflow
  3. 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:
Dry-Run (no GitHub changes):
Error:

Multi-repository setup

Same configuration across repos

Use organization secrets and shared configuration:

Different configuration per repo

Each repository can have unique simili.yaml:

Performance optimization

Reduce workflow duration

Dry-run for testing:
Skip on certain labels:

Parallel processing

For bulk indexing, use matrix strategy:

Troubleshooting

Workflow doesn’t trigger

  • Check event types in on: section
  • Verify workflow file is on main branch
  • Check Actions are enabled in repository settings

”Configuration not found” error

  • Verify .github/simili.yaml exists on main branch
  • Check path matches exactly in workflow
  • Ensure file has valid YAML syntax

”Permission denied” error

  • Check workflow has issues: write permission
  • 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_show value

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

Next steps

Configure Simili Bot

Customize behavior for your repository

View CLI reference

Understand all command options

Debug issues

Resolve common problems