diff --git a/.github/workflows/ai-labeler.yml b/.github/workflows/ai-labeler.yml new file mode 100644 index 000000000..fbbf581cc --- /dev/null +++ b/.github/workflows/ai-labeler.yml @@ -0,0 +1,23 @@ +name: AI Labeler + +on: + issues: + types: [opened, reopened] + issue_comment: + types: [created] + pull_request: + types: [opened, reopened] + +jobs: + ai-labeler: + runs-on: ubuntu-latest + permissions: + contents: read + issues: write + pull-requests: write + steps: + - uses: actions/checkout@v4 + - uses: jlowin/ai-labeler@0.5.0 + with: + openai-api-key: ${{ secrets.OPENAI_API_KEY }} + controlflow-llm-model: openai/gpt-4o-mini