Skip to content

Commit

Permalink
CodelldBot
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimcn committed Jan 13, 2025
1 parent c06be2e commit ca59065
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/analyze_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: analyze_issue

on:
issues:
types: [opened]
workflow_dispatch:
inputs:
issue_number:
type: number
required: true

jobs:
analyze_issue:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Analysis
uses: vadimcn/codelldbot@master
with:
issue_number: "${{ github.event_name == 'workflow_dispatch' && github.event.inputs.issue_number || github.event.issue.number }}"
env:
SEARCH_REPOSITORY: ${{ vars.SEARCH_REPOSITORY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ASSISTANT_ID: ${{ vars.ASSISTANT_ID }}
MODIFY: ${{ vars.MODIFY }}

0 comments on commit ca59065

Please sign in to comment.