Skip to content

Commit 72ae450

Browse files
committed
CodelldBot
1 parent c06be2e commit 72ae450

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: analyze_issue
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
workflow_dispatch:
7+
inputs:
8+
issue_number:
9+
type: number
10+
required: true
11+
12+
jobs:
13+
analyze_issue:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
issues: write
17+
steps:
18+
- name: Analysis
19+
uses: vadimcn/codelldbot@master
20+
with:
21+
issue_number: "${{ github.event_name == 'workflow_dispatch' && github.event.inputs.issue_number || github.event.issue.number }}"
22+
token: ${{ github.token }}
23+
env:
24+
SEARCH_REPOSITORY: ${{ vars.SEARCH_REPOSITORY }}
25+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
26+
ASSISTANT_ID: ${{ vars.ASSISTANT_ID }}
27+
MODIFY: ${{ vars.MODIFY }}

0 commit comments

Comments
 (0)