From eacf9fd79b4e55b7a0193fae053cafcbffc34fda Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Sat, 30 Nov 2024 09:01:14 -0500 Subject: [PATCH] Add ai labeler --- .github/workflows/ai-labeler.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ai-labeler.yml 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