mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
ci(issue-classifier): give the classifier and label jobs unique check-run names
code-quality's job name collision check flagged classify (also in duplicate_issue_check.yml) and label (also in label_claude_code.yml)
This commit is contained in:
parent
e37bd7c60b
commit
333ed01878
2 changed files with 6 additions and 6 deletions
10
.github/workflows/issue_classifier.yml
vendored
10
.github/workflows/issue_classifier.yml
vendored
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
- name: Test the gate, the validation and the label step
|
||||
run: bun test scripts/classify-issue.test.ts scripts/label-issue.test.ts
|
||||
|
||||
classify:
|
||||
classify-issue:
|
||||
# An edit to a labelled issue is dropped here; the script decides the rest against the live labels
|
||||
if: >-
|
||||
github.event_name != 'pull_request'
|
||||
|
|
@ -129,9 +129,9 @@ jobs:
|
|||
path: classification.json
|
||||
retention-days: 90
|
||||
|
||||
label:
|
||||
needs: classify
|
||||
if: needs.classify.outputs.verdict != ''
|
||||
label-issue:
|
||||
needs: classify-issue
|
||||
if: needs.classify-issue.outputs.verdict != ''
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
permissions:
|
||||
|
|
@ -156,6 +156,6 @@ jobs:
|
|||
run: bun run scripts/label-issue.ts
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
VERDICT: ${{ needs.classify.outputs.verdict }}
|
||||
VERDICT: ${{ needs.classify-issue.outputs.verdict }}
|
||||
ISSUE_NUMBER: ${{ github.event.issue.number || github.event.inputs.issue_number }}
|
||||
DRY_RUN: ${{ vars.ISSUE_CLASSIFIER_ENABLED != 'true' }}
|
||||
|
|
|
|||
2
.github/workflows/label_claude_code.yml
vendored
2
.github/workflows/label_claude_code.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
|||
permissions: {}
|
||||
|
||||
jobs:
|
||||
label:
|
||||
label-claude-code:
|
||||
if: github.repository == 'BerriAI/litellm' && contains(github.event.issue.body, 'claude code')
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 2
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue