-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
8 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 |
---|---|---|
|
@@ -37,7 +37,7 @@ jobs: | |
pull-requests: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: jlowin/[email protected].0 | ||
- uses: jlowin/[email protected].1 | ||
with: | ||
include-repo-labels: true # Set to false if you're providing a config file with labels | ||
openai-api-key: ${{ secrets.OPENAI_API_KEY }} | ||
|
@@ -67,7 +67,7 @@ By default, the AI labeler will use all labels found in your repository, as well | |
To disable this behavior, set `include-repo-labels` to `false`. In this case, the AI will only use labels defined in your config file. See the fine-tuning section below for more details. | ||
|
||
```yaml | ||
- uses: jlowin/[email protected].0 | ||
- uses: jlowin/[email protected].1 | ||
with: | ||
include-repo-labels: false # Only use labels defined in config | ||
``` | ||
|
@@ -82,7 +82,7 @@ You must specify an LLM provider and provide an API key. You can use either Open | |
By default, the AI labeler uses OpenAI's `gpt-4o-mini` model. This is an excellent and affordable choice for most users. However, 4o-mini can get confused by complex per-label instructions. You can specify a different model if you'd like: | ||
|
||
```yaml | ||
- uses: jlowin/[email protected].0 | ||
- uses: jlowin/[email protected].1 | ||
with: | ||
controlflow-llm-model: openai/gpt-4o-mini | ||
``` | ||
|
@@ -98,7 +98,7 @@ Note that you must provide an appropriate API key for your selected LLM provider | |
#### OpenAI | ||
|
||
```yaml | ||
- uses: jlowin/[email protected].0 | ||
- uses: jlowin/[email protected].1 | ||
with: | ||
openai-api-key: ${{ secrets.OPENAI_API_KEY }} | ||
|
@@ -111,7 +111,7 @@ Set your OpenAI API key as a repository secret named `OPENAI_API_KEY`. Since the | |
#### Anthropic | ||
|
||
```yaml | ||
- uses: jlowin/[email protected].0 | ||
- uses: jlowin/[email protected].1 | ||
with: | ||
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }} | ||
|
@@ -126,7 +126,7 @@ Set your Anthropic API key as a repository secret named `ANTHROPIC_API_KEY`. To | |
By default, the action looks for additional configuration in `.github/ai-labeler.yml`. You can specify a different location: | ||
|
||
```yaml | ||
- uses: jlowin/[email protected].0 | ||
- uses: jlowin/[email protected].1 | ||
with: | ||
config-path: .github/my-custom-config.yml | ||
``` | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.