Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update action to use the correct model and to fix exclusion patterns #65

Merged
merged 3 commits into from
May 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr-writer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
# OpenAI model to use for PR description generation. Defaults to 'gpt-3.5-turbo-0125'.
# If your repository contains complex logic or expects large diffs, use 'gpt-4-0125-preview' or newer.
# Learn more at: https://platform.openai.com/docs/models/overview
openai-model: "gpt-4-turbo"
openai-model: "gpt-4-turbo-2024-04-09"
# File paths or patterns to exclude from the diff analysis. Use semicolons (;) to separate multiple paths.
# Example: 'poetry.lock;artifacts/*'
# WARNING: Not excluding build artifacts may result in a large diff that may exceed the GPT model's token limit.
exclude-paths: "**/package-lock.json;**/.gitignore;**/.npmignore;**/.prettierignore;**/yarn.lock;**/*.png;**/*.jpg;**/*.jpeg;**/*.gif;**/*.bmp;**/*.svg;**/*.webp;**/*.tiff;broadcast/**/*.json"
exclude-paths: "**/package-lock.json;**/.gitignore;**/.npmignore;**/.prettierignore;**/yarn.lock;**/*.png;**/*.jpg;**/*.jpeg;**/*.gif;**/*.bmp;**/*.svg;**/*.webp;**/*.tiff;**/broadcast/**/*.json"
# Absolute file path to a markdown or text file to append to the PR message (checklist, etc.)
# Example: '.github/pull_request_append.md'
pr-append-file: ""
Expand Down
Loading