Skip to content

Commit

Permalink
Merge pull request #367 from PrefectHQ/ai-labeler
Browse files Browse the repository at this point in the history
Add AI labeler
  • Loading branch information
jlowin authored Oct 28, 2024
2 parents 610fc85 + d325848 commit 970c9ed
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/ai-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
labels:
# Simple form: just the name
- bug
- breaking change
- documentation
- feature
- enhancement
- question
- example
- good first issue
- tests
- ignore in release notes:
description: "Ignore this PR in release notes"
instructions: |
Administrative changes that don't need to be mentioned in release notes,
such as CI configuration changes. Small changes, including typos, SHOULD
be kept in the release notes; only changes that aren't relevant to
behavior should be ignored.
20 changes: 20 additions & 0 deletions .github/workflows/ai-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: AI Labeler

on:
issues:
types: [opened, reopened]
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@v0.2.1
with:
openai-api-key: ${{ secrets.OPENAI_API_KEY }}

0 comments on commit 970c9ed

Please sign in to comment.