Skip to content

feat: Add Claude Code GitHub Action for AI-assisted PR fixes via @simili-bot comments #819

feat: Add Claude Code GitHub Action for AI-assisted PR fixes via @simili-bot comments

feat: Add Claude Code GitHub Action for AI-assisted PR fixes via @simili-bot comments #819

Workflow file for this run

name: Simili Triage
on:
issues:
types: [opened, edited, reopened]
pull_request:
types: [opened, edited, reopened]
issue_comment:
types: [created]
concurrency:
group: simili-${{ github.event.issue.number || github.event.pull_request.number }}
cancel-in-progress: false
permissions:
contents: read
issues: write
pull-requests: write
jobs:
triage:
runs-on: ubuntu-latest
# Skip only when the bot itself posts a comment (prevents feedback loop).
# Always run for issues: opened/edited/reopened events.
if: >
github.event_name != 'issue_comment' ||
(github.actor != 'gh-simili-bot' && github.actor != 'github-actions[bot]')
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Simili Bot
uses: ./
env:
QDRANT_URL: ${{ secrets.QDRANT_URL }}
QDRANT_API_KEY: ${{ secrets.QDRANT_API_KEY }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
with:
config_path: .github/simili.yaml
command: process
github_token: ${{ secrets.SIMILI_BOT_TOKEN || secrets.GITHUB_TOKEN }}
transfer_token: ${{ secrets.TRANSFER_TOKEN }}