Spaces:
Running
Running
Jeremiah Lowin commited on
Commit ·
6e037f2
1
Parent(s): 888a54c
Add ai labeler
Browse files
.github/workflows/ai-labeler.yml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: AI Labeler
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
issues:
|
| 5 |
+
types: [opened, reopened]
|
| 6 |
+
issue_comment:
|
| 7 |
+
types: [created]
|
| 8 |
+
pull_request:
|
| 9 |
+
types: [opened, reopened]
|
| 10 |
+
|
| 11 |
+
jobs:
|
| 12 |
+
ai-labeler:
|
| 13 |
+
runs-on: ubuntu-latest
|
| 14 |
+
permissions:
|
| 15 |
+
contents: read
|
| 16 |
+
issues: write
|
| 17 |
+
pull-requests: write
|
| 18 |
+
steps:
|
| 19 |
+
- uses: actions/checkout@v4
|
| 20 |
+
- uses: jlowin/ai-labeler@0.5.0
|
| 21 |
+
with:
|
| 22 |
+
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
|
| 23 |
+
controlflow-llm-model: openai/gpt-4o-mini
|