mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
Everything this stack adds now carries issue in its file name, workflow name and job id, so one search finds all of it: ls .github/workflows/issue_* grep -ril issue scripts .github/prompts .github/*.json Renames: label_sync.yml -> issue_label_sync.yml, label_claude_code.yml -> issue_label_claude_code.yml, .github/labels.json -> .github/issue-labels.json, scripts/sync-labels(.test).ts -> scripts/sync-issue-labels(.test).ts. Job ids now match the script they run: classify-issue-tests, classify-issue, label-issue, sync-issue-labels-tests, sync-issue-labels, label-claude-code
21 lines
530 B
YAML
21 lines
530 B
YAML
name: Issue label claude code
|
|
|
|
on:
|
|
issues:
|
|
types: [opened]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
label-claude-code:
|
|
if: github.repository == 'BerriAI/litellm' && contains(github.event.issue.body, 'claude code')
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 2
|
|
permissions:
|
|
issues: write
|
|
steps:
|
|
- name: Add the claude code label
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
ISSUE_URL: ${{ github.event.issue.html_url }}
|
|
run: gh issue edit "$ISSUE_URL" --add-label "claude code"
|