-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #367 from PrefectHQ/ai-labeler
Add AI labeler
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |